You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Could not parse Info.plist file - caused by: Serde("invalid type: integer 32924, expected a string") #1936
If you are using sentry.io, please post a link to your issue so we can take a look:
[Link to issue]
Configuration:
(@sentry/react-native)
Sentry.init({
dsn: 'https://[email protected]/...'
// other options
});
I have the following issue:
Since yesterday, I've been encountering the following error message when attempting to build the iOS app:
❌ error: Could not parse Info.plist file
Run script build phase '[CP-User] Config codegen' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'react-native-config' from project 'Pods')
Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
Last lines of the Xcode's build log:
export __IS_NOT_SIMULATOR_simulator\=NO
export arch\=undefined_arch
export variant\=normal
/bin/sh -c /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/Mylo-fcequrikxyqjreaosttkhtfkpnoi/Build/Intermediates.noindex/ArchiveIntermediates/Mylo/IntermediateBuildFilesPath/Mylo.build/Release-iphoneos/Mylo.build/Script-A31ED4BC5358436EB4C1FDEE.sh
INFO 2024-02-09 00:33:23.878117 +00:00 Loaded file referenced by SENTRY_PROPERTIES (sentry.properties)
error: Could not parse Info.plist file
caused by: Serde("invalid type: integer `32924`, expected a string")
Steps to reproduce:
Step 1
Step 2
Actual result:
Encountered an error when trying to build the app.
@krystofwoldrich May I have your email so that I can send you my Info.plist? It's a bit urgent since all of the products in my company are using Sentry, and we are unable to release the apps now. Thanks!
But simply based on the error message, do you have any values in your Info.plist that are set to 32924? If possible, changing the type of this value to a string might fix the problem.
Activity
krystofwoldrich commentedon Feb 9, 2024
Hi @kenyipp,
thank you for the message, this is an error from the
@sentry/clifailing to parse theInfo.plist.Would you be able to share an example
Info.plistfile where parsing fails, that would help us a lot with debugging the issue.Related code:
sentry-cli/src/commands/react_native/xcode.rs
Lines 204 to 209 in d902a76
krystofwoldrich commentedon Feb 9, 2024
Alternatively, we should only parse
Info.plistwhen we need it. Therefore only whenauto_releaseread from plist is enabled.https://github.com/getsentry/sentry-cli/blob/d902a76e7a65902da0722f022b7d425c5330df91/src/commands/react_native/xcode.rs#L360C15-L360C51
kenyipp commentedon Feb 9, 2024
@krystofwoldrich May I have your email so that I can send you my Info.plist? It's a bit urgent since all of the products in my company are using Sentry, and we are unable to release the apps now. Thanks!
szokeasaurusrex commentedon Feb 12, 2024
@kenyipp You can email me at [email protected].
But simply based on the error message, do you have any values in your Info.plist that are set to
32924? If possible, changing the type of this value to a string might fix the problem.