Please provide the following:
- SDK Version: 42
- Platforms(Android/iOS/web/all): iOS
OS expo-cli 4.12.0
Node 12
I currently installed sentry via expo install sentry-expo
along with all recommended additional dependencies.
I have tested it on expo simulator with Sentry.Native.captureException("testing ios error");
which logs to my sentry dashboard.
However when I run eas build --profile preview --platform all
I get an error which dispalys:
error: API request failed
the transform cache was reset.
› Generating debug EagleEyeInspections » eepi-app.app.dSYM
› Executing EagleEyeInspections » [CP] Copy Pods Resources
› Executing EagleEyeInspections » Upload Debug Symbols to Sentryerror: API request failed
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ PhaseScriptExecution Upload\ Debug\ Symbols\ to\ Sentry /Users/expo/Library/Developer/Xcode/DerivedData/EagleEyeInspections-cgxeafiultmcacebeduxrcnyvumf/Build/Intermediates.noindex/ArchiveIntermediates/EagleEyeInspections/IntermediateBuildFilesPath/EagleEyeInspections.build/Release-iphoneos/EagleEyeInspections.build/Script-8648F924EAD54B659E73E9F1.sh (in target ‘EagleEyeInspections’ from project ‘EagleEyeInspections’)
▸ (1 failure)
** ARCHIVE FAILED **
When I run expo build:ios it works.
app.json contains:
"plugins": ["sentry-expo"],
"hooks": {
"postPublish": [
{
"file": "sentry-expo/upload-sourcemaps",
"config": {
"organization": "Codesto",
"project": "eagleeyeapp",
"authToken": "5238347c516711eca3335e4f87b0a460"
}
}
]
}
eas.json
{
"build": {
"preview": {
"distribution": "internal"
},
"preview-enterprise": {
"distribution": "internal",
"ios": {
"enterpriseProvisioning": "universal"
}
}
}
}
Any ideas what I’m doing wrong?