After installing and configuring expo-sentry, my project fails to build for iOS, it works fine for Android. I get this error in EAS:
The following build commands failed:
PhaseScriptExecution Upload\ Debug\ Symbols\ to\ Sentry /Users/expo/Library/Developer/Xcode/DerivedData/Jaleko-avqepadxezabzvgenffpadmdmygk/Build/Intermediates.noindex/ArchiveIntermediates/Jaleko/IntermediateBuildFilesPath/Jaleko.build/Debug-iphoneos/Jaleko.build /Script-68CAE18EFF904F059C3B7415.sh (in target 'Jaleko' of project 'Jaleko')
(1 failure)
Exit status: 65
All vars are in EAS Secrets. My files:
app.config.js
:
{
extra: {
sentryDsn: process.env.SENTRY_DSN,
...
},
plugins: [
'sentry-expo',
...
],
hooks: {
postPublish: [
{
file: 'sentry-expo/upload-sourcemaps',
config: {
organization: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,
authToken: process.env.SENTRY_AUTH_TOKEN,
},
},
],
},
}
App.tsx
:
Sentry.init({
dsn: Constants.manifest?.extra?.sentryDsn,
enableInExpoDevelopment: process.env.NODE_ENV === 'development',
debug: process.env.NODE_ENV === 'development',
});
P.S.: All packages are up to date