Please provide the following:
- SDK Version: 47
- Platforms(Android/iOS/web/all): iOS
- Add the appropriate “Tag” based on what Expo library you have a question on.
I’ve upgraded from sdk 45 → 47 for minimum iOS version issues and my EAS build fails with message
“Fastlane build failed with unknown error.”
For debugging purposes I’ve removed all the packages with plugins and the app is working fine with expo run with Expo go.
I’ve built it with command
eas build --profile preview --platform ios --clear-cache
since the guide said I should clear cache after upgrading.(in fact I’ve tried other profiles and without clear cache… no luck)
I’m not good with iOS and fastlane but I think the best error message I can provide is
Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warni ng, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysi s' in the script phase. (in target 'MyProject' from project 'MyProject')
Run script build phase 'Bundle React Native code and images will be run during every build because it does not specify any outputs.
To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based o n dependency analysis" in the script phase. (in target 'MyProject' from project 'MyProject')
Run script build phase '[CP-User] Generate app. config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every bui ld by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
Run script build phase ' [CP-User] Generate app.manifest for expo-updates' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchec king "Based on dependency analysis" in the script phase. (in target 'EXUpdates' from project 'Pods')
* ** ARCHIVE FAILED **
* The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/expo/Library/Developer/Xcode/DerivedData/MyProject-fujqujwxydilvkhidhs jwuxxlzs d/Build/Intermediates.noindex/ArchiveIntermediates/MyProject/IntermediateBuildFilesPath/Pods.build/Release-iphones/FBReactNativeSpec.buil
d/Script-46EB2E000167D0.sh (in target 'FBReactNativeSpec' from project
"Pods")
• (1 failure)
** ARCHIVE FAILED **
The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/expo/Library/Developer/Xcode/DerivedData/MyProject-fujqujwydilvkhidhs jwuxxlzs d/Build/Intermediates.noindex/ArchiveIntermediates/MyProject/IntermediateBuildFilesPath/Pods.build/Release-iphones/FBReactNativeSpec.buil
d/Script-46EB2E000167D0.sh (in target 'FBReactNativeSpec' from project 'Pods')
(1 failure)
Exit status: 65
Build environment
I xcode_path /Applications/Xcode. app |
1 gym_version | 2.210.0 sak
| iPhoneS16.0. 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. fast lane. tools/codesigning/getting-started/ Before submitting an issue on GitHub, please follow the guide above and make sure your project is set up correctly.
Anyone had a similar problem or can help by reading the logs?