-
Notifications
You must be signed in to change notification settings - Fork 84
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 build do not have error but ** ARCHIVE FAILED ** Exit status: 65 #2126
Comments
i'm facing same issue, Anything on this ? |
I am facing the same error. |
Same issue for me... I tried to update the react-native-google-mobile-ads version to the latest (12.9.0), but it did not help. My expo config:
My package.json:
|
Hi there! Your Xcode logs expired so it's hard for me to help you at the moment, but in such cases, it is good to investigate Xcode logs rather than just Fastlane logs, because they are much more detailed and it's hard to figure out the root cause of the issue by just looking at the Fastlane logs. |
Hello friends,
Now it's bundling like a charm ;) But seriously the error log management is horrible! I hope it will help some of you out there... |
I also encountered a similar
export EAS_LOCAL_BUILD_SKIP_CLEANUP=1
eas build -p ios --local
|
This issue is stale because it has been open for 30 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem. |
not worked fro me |
This came up first in Google when I searched for it so I'll post a solution here: EAS Build (local as well as in the cloud) was failing for me on IOS because Apple Developer had some updates and all of my provisioning profiles had become invalid. EAS should've notified me of this, but they didn't. The solution:
|
adding on to @jvgeee's comment, the best method for determining issues in export EAS_LOCAL_BUILD_SKIP_CLEANUP=1 This will ensure your XCode logs are retained after the local build is complete. After that, command + click the link to the I think with that information, this issue thread could be resolved for many RN/Expo beginners (like me) who suffered from the same issue for hours before I finally realized that I was missing a lot of detail in the logs. https://docs.expo.dev/build-reference/local-builds/#use-local-builds-for-debugging Lastly, for the EAS team, I think the Apple entitlement / capability documentation could be updated to include attribute types. That would have helped me significantly. Instead of relying on those, I opened my project in XCode, modified the capabilities, added the required capabilities, and looked in the Hope this helps those who find this thread. 🙏 |
Build/Submit details page URL
No response
Summary
Migrating from Expo classic build to eas build but it always fails with
https://expo.dev/accounts/bustrackie/projects/trackie/builds/4d512645-00a3-440b-a83b-8369905ac762
** ARCHIVE FAILED ** Exit status: 65
Executing trackie » Bundle React Native code and images
› Executing trackie » [CP] Copy Pods Resources
› Executing trackie » [CP] Embed Pods Frameworks
› Executing trackie » [CP-User] [RNFB] Core Configuration
› Executing trackie » [CP-User] [RNFB] Crashlytics Configuration
› Executing trackie » [CP-User] [RNGoogleMobileAds] Configuration
› Signing trackie » trackie.app
› Creating trackie » trackie.app
▸ ** ARCHIVE FAILED **
2023-11-17 18:12:23.074 xcodebuild[35581:45614] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
** ARCHIVE FAILED **
Exit status: 65
+-------------+-------------------------+
| Build environment |
+-------------+-------------------------+
| xcode_path | /Applications/Xcode.app |
| gym_version | 2.213.0 |
| sdk | iPhoneOS16.4.sdk |
+-------------+-------------------------+
Looks like fastlane ran into a build/archive error with your project
It's hard to tell what's causing the error, so we wrote some guides on how
to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
Before submitting an issue on GitHub, please follow the guide above and make
sure your project is set up correctly.
fastlane uses
xcodebuild
commands to generate your binary, you can see thethe full commands printed out in yellow in the above log.
Make sure to inspect the output above, as usually you'll find more error information there
[!] Error building the application - see the log above
Error: The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.
Managed or bare?
Managed
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.6
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.1.2 - ~/.nvm/versions/node/v16.13.1/bin/npm
Watchman: 2023.09.25.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.14.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 27, 29, 30, 31
Build Tools: 28.0.3, 29.0.2, 30.0.1, 30.0.3
System Images: android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6626763
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
npmPackages:
babel-preset-expo: ^9.3.0 => 9.5.0
expo: ^49.0.6 => 49.0.18
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.72.6 => 0.72.6
npmGlobalPackages:
eas-cli: 5.8.0
expo-cli: 6.3.10
Expo Workflow: bare
✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check npm/ yarn versions
✔ Check that packages match versions required by installed Expo SDK
✔ Check that native modules do not use incompatible support packages
✔ Check for legacy global CLI installed locally
✔ Check that native modules use compatible support package versions for installed Expo SDK
Didn't find any issues with the project!
Error output
Xcode log google drive from EAS. The project works fine when make for "distribution": "internal",
https://drive.google.com/file/d/1qdz8fPfi0tG8yqna5TCXiSUoSCBNmVAA/view?usp=sharing
Last logs from fastlane
› Copying ../../../Users/expo/Library/Developer/Xcode/DerivedData/trackie-ftrkcgwbsgbzcmceiitmerqvziqt/Build/Intermediates.noindex/ArchiveIntermediates/trackie/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Pods_trackie.framework/Headers/Pods-trackie-umbrella.h ➜ ../../../Users/expo/workingdir/build/ios/Pods/Target/ Support/ Files/Pods-trackie/Pods-trackie-umbrella.h
› Preparing Pods/Pods-trackie » Pods-trackie-Info.plist
› Compiling Pods/Pods-trackie » Pods-trackie-dummy.m
› Compiling Pods/Pods-trackie » Pods_trackie_vers.c
› Creating Pods/Pods-trackie » Pods_trackie.framework
› Executing [CP] Check Pods M
› Executing trackie » Start Packager on http://localhost:8081
› Executing trackie » [Expo] Configure project
› Copying ios/trackie/GoogleService-Info.plist ➜ ./GoogleService-Info.plist
› Copying ios/trackie/Supporting/Expo.plist ➜ ./Expo.plist
› Compiling trackie » SplashScreen.storyboard
› Preparing trackie » Info.plist
› Compiling trackie » trackie_vers.c
› Compiling trackie » main.m
› Compiling trackie » AppDelegate.mm
› Linking trackie » trackie
› Generating debug trackie » trackie.app.dSYM
› Executing trackie » Bundle React Native code and images
› Executing trackie » [CP] Copy Pods Resources
› Executing trackie » [CP] Embed Pods Frameworks
› Executing trackie » [CP-User] [RNFB] Core Configuration
› Executing trackie » [CP-User] [RNFB] Crashlytics Configuration
› Executing trackie » [CP-User] [RNGoogleMobileAds] Configuration
› Signing trackie » trackie.app
› Creating trackie » trackie.app
▸ ** ARCHIVE FAILED **
2023-11-18 17:46:46.771 xcodebuild[35146:44033] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
** ARCHIVE FAILED **
Exit status: 65
+-------------+-------------------------+
| Build environment |
+-------------+-------------------------+
| xcode_path | /Applications/Xcode.app |
| gym_version | 2.213.0 |
| sdk | iPhoneOS16.4.sdk |
+-------------+-------------------------+
Looks like fastlane ran into a build/archive error with your project
It's hard to tell what's causing the error, so we wrote some guides on how
to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
Before submitting an issue on GitHub, please follow the guide above and make
sure your project is set up correctly.
fastlane uses
xcodebuild
commands to generate your binary, you can see thethe full commands printed out in yellow in the above log.
Make sure to inspect the output above, as usually you'll find more error information there
[!] Error building the application - see the log above
Error: The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.
Reproducible demo or steps to reproduce from a blank project
Its a EAS Build issue when making it for app store, so not sure what code to provide here
The text was updated successfully, but these errors were encountered: