Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EAS iOS Build Failed: ARCHIVE FAILED on running fastlane: PhaseScriptExecution - Sentry #847

Closed
ODINSLAYER09 opened this issue Dec 14, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@ODINSLAYER09
Copy link

Summary

When we run the build, the process fails on fastlane with the error below:

** ARCHIVE FAILED **
The following build commands failed:
PhaseScriptExecution Upload\ Debug\ Symbols\ to\ Sentry /Users/expo/Library/Developer/Xcode/DerivedData/application-gfpiycnwdqyjfaaiwqvnkfdyemxa/Build/Intermediates.noindex/ArchiveIntermediates/application/IntermediateBuildFilesPath/application.build/Release-iphoneos/application.build/Script-F926450CD1FB41C6809D988C.sh (in target 'application' from project 'application')

Managed or bare?

Managed

Environment

[email protected] is now available, please upgrade.Proceeding with outdated version

EAS CLI 0.40.0 environment info:
System:
OS: macOS 11.5.2
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.17.5 - /usr/local/bin/node
Yarn: 1.22.17 - ~/.npm-global/bin/yarn
npm: 7.24.1 - ~/.npm-global/bin/npm
Utilities:
Git: 2.30.1 - /usr/bin/git
npmPackages:
@expo/webpack-config: ^0.16.2 => 0.16.7
expo: ^43.0.0 => 43.0.3
expo-cli: ^4.13.0 => 4.13.0
expo-dev-client: ~0.6.3 => 0.6.3
react: 17.0.1 => 17.0.1
react-dom: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
react-native-web: ^0.17.5 => 0.17.5
npmGlobalPackages:
eas-cli: 0.40.0
expo-cli: 4.13.0
Project workflow: generic

Error output

⚠️ ld: method '+UIDatePickerMode:' in category from /Users/expo/Library/Developer/Xcode/DerivedData/application-gfpiycnwdqyjfaaiwqvnkfdyemxa/Build/Intermediates.noindex/ArchiveIntermediates/application/BuildProductsPath/Release-iphoneos/React-Core/libReact-Core.a(RCTDatePickerManager.o) conflicts with same method from another category
› Copying ios/application/Supporting/Expo.plist ➜ ./Expo.plist
› Compiling application » SplashScreen.storyboard
› Preparing application » Info.plist
› Executing application » Bundle React Native code and images
the transform cache was reset.

❌ error: API request failed

the transform cache was reset.

› Generating debug application » app.app.dSYM
› Executing application » [CP] Copy Pods Resources
› Executing application » Upload Debug Symbols to Sentry

❌ error: API request failed

▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ PhaseScriptExecution Upload\ Debug\ Symbols\ to\ Sentry /Users/expo/Library/Developer/Xcode/DerivedData/application-xxxxxxxxxxxxx/Build/Intermediates.noindex/ArchiveIntermediates/application/IntermediateBuildFilesPath/application.build/Release-iphoneos/application.build/Script-xxxxxxxxxxxxxx.sh (in target 'application' from project 'application')
▸ (1 failure)
** ARCHIVE FAILED **
The following build commands failed:
PhaseScriptExecution Upload\ Debug\ Symbols\ to\ Sentry /Users/expo/Library/Developer/Xcode/DerivedData/application-xxxxxxxxxxxxx/Build/Intermediates.noindex/ArchiveIntermediates/application/IntermediateBuildFilesPath/application.build/Release-iphoneos/application.build/Script-xxxxxxxxxxxxxx.sh (in target 'application' from project 'application')
(1 failure)

Reproducible demo or steps to reproduce from a blank project

Load the project and just run the eas build command:

eas build --platform ios

@ODINSLAYER09 ODINSLAYER09 added the bug Something isn't working label Dec 14, 2021
@brentvatne
Copy link
Member

this isn't an eas build issue, it's an issue with sentry support in monorepos (most likely, it's hard to tell from the info you provided): getsentry/sentry-react-native#1857

@hamedb89
Copy link

It turns out when the port is taken it breaks for me. Stopped running docker instances and it worked again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants