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
Build with iOS on EAS Build fail with same error as #4939 but I don't understand as it's an old issue that seems already fixed.
Does the pnpm add -D @sentry/cli always needed with pnpm setup ?
Fastlane log
⚠️ ld: search path '/var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v17.3.48.0.qBgAFy/Metal.xctoolchain/usr/lib/swift/iphonesimulator' not found
› Generating debug DEVFFHandball » DEVFFHandball.app.dSYM
› Executing DEVFFHandball » Bundle React Native code and images
› Executing DEVFFHandball » [CP] Copy Pods Resources
› Executing DEVFFHandball » [Expo Dev Launcher] Strip Local Network Keys for Release
› Executing DEVFFHandball » Upload Debug Symbols to Sentry
Run script build phase '[CP-User] [Hermes] Replace Hermes for the right configuration, if needed' will be run during every build because it does not specify any outputs. To address this issue, 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 'hermes-engine' from project 'Pods')
Run script build phase '[Expo Dev Launcher] Strip Local Network Keys for Release' will be run during every build because it does not specify any outputs. To address this issue, 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 'DEVFFHandball' from project 'DEVFFHandball')
Run script build phase 'Upload Debug Symbols to Sentry' will be run during every build because it does not specify any outputs. To address this issue, 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 'DEVFFHandball' from project 'DEVFFHandball')
Run script build phase '[CP-User] [RNFB] Core Configuration' will be run during every build because it does not specify any outputs. To address this issue, 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 'DEVFFHandball' from project 'DEVFFHandball')
Run script build phase '[CP-User] [RNFB] Crashlytics Configuration' will be run during every build because it does not specify any outputs. To address this issue, 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 'DEVFFHandball' from project 'DEVFFHandball')
Run script build phase '[CP-User] react-native-maps patches' will be run during every build because it does not specify any outputs. To address this issue, 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-maps' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, 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 'ReactCodegen' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, 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 'RNWorklets' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, 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 'RNReanimated' from project 'Pods')
▸ ** BUILD FAILED **
▸ The following build commands failed:
▸ PhaseScriptExecution Upload\ Debug\ Symbols\ to\ Sentry /Users/expo/workingdir/build/ios/build/Build/Intermediates.noindex/DEVFFHandball.build/Debug-iphonesimulator/DEVFFHandball.build/Script-CF870D5DF6514FBD8854CF3B.sh (in target 'DEVFFHandball' from project 'DEVFFHandball')
▸ Building workspace DEVFFHandball with scheme DEVFFHandball and configuration Debug
Error: Cannot find module '@sentry/cli/package.json'
Require stack:
- /Users/expo/workingdir/build/ios/[eval]
at Module._resolveFilename (node:internal/modules/cjs/loader:1456:15)
at require.resolve (node:internal/modules/helpers:163:19)
at [eval]:1:33
at runScriptInThisContext (node:internal/vm:219:10)
at node:internal/process/execution:451:12
at [eval]-wrapper:6:24
at runScriptInContext (node:internal/process/execution:449:60)
at evalFunction (node:internal/process/execution:283:30)
at evalTypeScript (node:internal/process/execution:295:3)
at node:internal/main/eval_string:71:3 {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/Users/expo/workingdir/build/ios/[eval]' ]
}
Node.js v24.14.0
+ SENTRY_CLI_PACKAGE_PATH=
Command PhaseScriptExecution failed with a nonzero exit code
What React Native libraries do you use?
Expo Application Services (EAS)
Are you using sentry.io or on-premise?
sentry.io (SaS)
Are you using any other error monitoring solution alongside Sentry?
No
Other Error Monitoring Solution Name
No response
@sentry/react-native SDK Version
~7.11.0
How does your development environment look like?
Sentry.init()
Steps to Reproduce
Expected Result
Build work
Actual Result
Build with iOS on EAS Build fail with same error as #4939 but I don't understand as it's an old issue that seems already fixed.
Does the
pnpm add -D @sentry/clialways needed with pnpm setup ?Fastlane log
XCode Logs