EAS local builds not working with Xcode 14
Build/Submit details page URL
No response
Summary
Setting up a new expo project and trying to build the app locally shows the same error.
Managed or bare?
managed
Environment
$ npx expo-env-info
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.0
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.17.1 - ~/.nvm/versions/node/v16.17.1/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 8.15.0 - ~/.nvm/versions/node/v16.17.1/bin/npm
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 14.0/14A309 - /usr/bin/xcodebuild
npmPackages:
expo: ~46.0.13 => 46.0.15
react: 18.0.0 => 18.0.0
react-native: 0.69.6 => 0.69.6
npmGlobalPackages:
eas-cli: 2.3.0
expo-cli: 6.0.6
Expo Workflow: managed
$ expo doctor
🎉 Didn't find any issues with the project!
Error output
[RUN_FASTLANE] Run script build phase 'Start Packager' 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 on dependency analysis" in the script phase. (in target 'myapp' from project 'myapp')
[RUN_FASTLANE] 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 on dependency analysis" in the script phase. (in target 'myapp' from project 'myapp')
[RUN_FASTLANE] 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 build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
[RUN_FASTLANE] ▸ ** ARCHIVE FAILED **
[RUN_FASTLANE] ** ARCHIVE FAILED **
[RUN_FASTLANE] Exit status: 65
[RUN_FASTLANE]
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE] | Build environment |
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE] | xcode_path | /Applications/Xcode.app |
[RUN_FASTLANE] | gym_version | 2.210.1 |
[RUN_FASTLANE] | sdk | iPhoneOS16.0.sdk |
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE] Looks like fastlane ran into a build/archive error with your project
[RUN_FASTLANE] It's hard to tell what's causing the error, so we wrote some guides on how
[RUN_FASTLANE] to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[RUN_FASTLANE] Before submitting an issue on GitHub, please follow the guide above and make
[RUN_FASTLANE] sure your project is set up correctly.
[RUN_FASTLANE] fastlane uses `xcodebuild` commands to generate your binary, you can see the
[RUN_FASTLANE] the full commands printed out in yellow in the above log.
[RUN_FASTLANE] Make sure to inspect the output above, as usually you'll find more error information there
[RUN_FASTLANE] [!] Error building the application - see the log above
[RUN_FASTLANE] Error: Fastlane build failed with unknown error. See logs for the "Run fastlane" and "Xcode Logs" phases for more information.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.
[CLEAN_UP_CREDENTIALS] Destroying keychain - /var/folders/zh/xxxxxx/T/turtle-v2-xxxxx.keychain
[CLEAN_UP_CREDENTIALS] Removing provisioning profile
Build failed
Fastlane build failed with unknown error. See logs for the "Run fastlane" and "Xcode Logs" phases for more information.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.
Error: npx exited with non-zero code: 1
Reproducible demo or steps to reproduce from a blank project
npx create-expo-app my-app
cd my-app
npm run ios
# works great!
eas build --profile preview --local
# Would you like to automatically create an EAS project for @tomxpcvx/my-app? … yes
# What would you like your iOS bundle identifier to be? … com.tomxpcvx.myapp
# Do you want to log in to your Apple account? … yes
# ...Apple Setup stuff...
# Would you like to set up Push Notifications for your project? › No
Hey, Can you try opening Xcode and seeing if you don't have to accept any license agreements? :)
Hi, yeah this is not the problem. All license stuff is accepted and I can use Xcode for other projects very well.
The logs you shared don't contain any useful information. Can you please share the whole command output? Also, the actual error might be in Xcode logs file which can be found elsewhere.
Sorry, I can't find a Xcode log file. 😅
I attach here the full log running eas build --profile preview --local after the Apple login stuff :)
All credentials are ready to build @tomxpcvx/my-app (com.tomxpcvx.myapp)
✔ Would you like to set up Push Notifications for your project? › Yes
✔ Generate a new Apple Push Notifications service key? … yes
✔ Created Apple push key
✔ Created push key
✔ Push Key assigned to my-app: com.tomxpcvx.myapp
[SETUP_WORKINGDIR] Preparing workingdir /var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/eas-build-local-nodejs/7171ef11-9ad1-4ec2-9689-643c7a855e42
[START_BUILD] Starting build
"job": {
"type": "managed",
"platform": "ios",
"projectArchive": {
"type": "PATH",
"path": "/var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/eas-cli-nodejs/d22797bb-855c-448e-9602-870ed6d7e2e6.tar.gz"
},
"projectRootDirectory": ".",
"builderEnvironment": {},
"cache": {
"disabled": false,
"customPaths": [],
"cacheDefaultPaths": true,
"clear": false
},
"updates": {},
"scheme": "myapp",
"username": "tomxpcvx",
"experimental": {}
}
[INSTALL_DEPENDENCIES] Running "npm install" in the root dir of your repository
[INSTALL_DEPENDENCIES] npm
[INSTALL_DEPENDENCIES] WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
[INSTALL_DEPENDENCIES] npm
[INSTALL_DEPENDENCIES] WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
[INSTALL_DEPENDENCIES] npm
[INSTALL_DEPENDENCIES] WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
[INSTALL_DEPENDENCIES] npm
[INSTALL_DEPENDENCIES] WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
[INSTALL_DEPENDENCIES] npm
[INSTALL_DEPENDENCIES] WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
[INSTALL_DEPENDENCIES] npm
[INSTALL_DEPENDENCIES] WARN deprecated [email protected]: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
[INSTALL_DEPENDENCIES] added 1134 packages, and audited 1135 packages in 7s
[INSTALL_DEPENDENCIES] 57 packages are looking for funding
[INSTALL_DEPENDENCIES] run `npm fund` for details
[INSTALL_DEPENDENCIES] 12 moderate severity vulnerabilities
[INSTALL_DEPENDENCIES]
[INSTALL_DEPENDENCIES] To address issues that do not require attention, run:
[INSTALL_DEPENDENCIES] npm audit fix
[INSTALL_DEPENDENCIES]
[INSTALL_DEPENDENCIES] To address all issues (including breaking changes), run:
[INSTALL_DEPENDENCIES] npm audit fix --force
[INSTALL_DEPENDENCIES]
[INSTALL_DEPENDENCIES] Run `npm audit` for details.
[READ_PACKAGE_JSON] Using package.json:
[READ_PACKAGE_JSON] {
"name": "my-app",
"version": "1.0.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web"
},
"dependencies": {
"expo": "~46.0.13",
"expo-status-bar": "~1.4.0",
"react": "18.0.0",
"react-native": "0.69.6"
},
"devDependencies": {
"@babel/core": "^7.12.9"
},
"private": true
}
[READ_APP_CONFIG] Using app configuration:
[READ_APP_CONFIG] {
"name": "my-app",
"slug": "my-app",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.tomxpcvx.myapp"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
}
},
"web": {
"favicon": "./assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "fb07d800-151a-4946-991c-618c6458174a"
}
},
"sdkVersion": "46.0.0",
"platforms": [
"ios",
"android"
],
"currentFullName": "@tomxpcvx/my-app",
"originalFullName": "@tomxpcvx/my-app"
}
[RUN_EXPO_DOCTOR] Running "expo doctor"
[RUN_EXPO_DOCTOR] - Finding all copies of expo-modules-autolinking
[RUN_EXPO_DOCTOR] - Finding all copies of @expo/config-plugins
[RUN_EXPO_DOCTOR] - Finding all copies of @expo/prebuild-config
[RUN_EXPO_DOCTOR] - Finding all copies of @unimodules/core
[RUN_EXPO_DOCTOR] - Finding all copies of @unimodules/react-native-adapter
[RUN_EXPO_DOCTOR] - Finding all copies of react-native-unimodules
[RUN_EXPO_DOCTOR] [11:42:48] 🎉 Didn't find any issues with the project!
[PREPARE_CREDENTIALS] Preparing credentials
[PREPARE_CREDENTIALS] Creating keychain
[PREPARE_CREDENTIALS] Preparing credentials for target 'myapp'
[PREPARE_CREDENTIALS] Getting distribution certificate fingerprint
[PREPARE_CREDENTIALS] Writing distribution certificate to /var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/25b15db8-d2f3-41cc-92cd-6d2e0ce3a845.p12
[PREPARE_CREDENTIALS] Importing distribution certificate into the keychain
[PREPARE_CREDENTIALS] Initializing provisioning profile
[PREPARE_CREDENTIALS] Validating whether distribution certificate has been imported successfully
[PREPARE_CREDENTIALS] Verifying whether the distribution certificate and provisioning profile match
[PREBUILD] - Creating native project directories (./ios and ./android) and updating .gitignore
[PREBUILD] ✔ Created native project | gitignore skipped
[PREBUILD] - Adding Metro bundler config
[PREBUILD] ✔ Added Metro config
[PREBUILD] - Updating your package.json scripts, dependencies, and main file
[PREBUILD] ✔ Updated package.json and added index.js entry point for iOS and Android
[PREBUILD] › Removed "main": "node_modules/expo/AppEntry.js" from package.json because we recommend using index.js as main instead
[PREBUILD] - Config syncing
[PREBUILD] Using node to generate images. This is much slower than using native packages.
[PREBUILD] › Optionally you can stop the process and try again after successfully running `npm install -g sharp-cli`.
[PREBUILD] - Config syncing
[PREBUILD] ✔ Config synced
[PREBUILD] Running "npm install" in the root dir of your repository
[PREBUILD] added 20 packages, and audited 1155 packages in 3s
[PREBUILD] 57 packages are looking for funding
[PREBUILD] run `npm fund` for details
[PREBUILD] 13 moderate severity vulnerabilities
[PREBUILD]
[PREBUILD] To address issues that do not require attention, run:
[PREBUILD] npm audit fix
[PREBUILD]
[PREBUILD] To address all issues (including breaking changes), run:
[PREBUILD] npm audit fix --force
[PREBUILD]
[PREBUILD] Run `npm audit` for details.
[INSTALL_PODS] Using Expo modules
[INSTALL_PODS] Auto-generating `.xcode.env.local` with $NODE_BINARY=/Users/tom/.nvm/versions/node/v16.17.1/bin/node
[INSTALL_PODS] [Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
[INSTALL_PODS] Analyzing dependencies
[INSTALL_PODS] Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
[INSTALL_PODS] [Codegen] Found FBReactNativeSpec
[INSTALL_PODS] /private/var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/eas-build-local-nodejs/7171ef11-9ad1-4ec2-9689-643c7a855e42/build/node_modules/react-native/scripts/react_native_pods_utils/script_phases.rb:51: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
[INSTALL_PODS] /private/var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/eas-build-local-nodejs/7171ef11-9ad1-4ec2-9689-643c7a855e42/build/node_modules/react-native/scripts/react_native_pods_utils/script_phases.rb:51: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
[INSTALL_PODS] Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
[INSTALL_PODS] Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
[INSTALL_PODS] Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
[INSTALL_PODS] Downloading dependencies
[INSTALL_PODS] Installing DoubleConversion (1.1.6)
[INSTALL_PODS] Installing EXApplication (4.2.2)
[INSTALL_PODS] Installing EXConstants (13.2.4)
[INSTALL_PODS] Installing EXErrorRecovery (3.2.0)
[INSTALL_PODS] Installing EXFileSystem (14.1.0)
[INSTALL_PODS] Installing EXFont (10.2.1)
[INSTALL_PODS] Installing EXSplashScreen (0.16.2)
[INSTALL_PODS] Installing Expo (46.0.15)
[INSTALL_PODS] Installing ExpoKeepAwake (10.2.0)
[INSTALL_PODS] Installing ExpoModulesCore (0.11.7)
[INSTALL_PODS] Installing FBLazyVector (0.69.6)
[INSTALL_PODS] Installing FBReactNativeSpec (0.69.6)
[INSTALL_PODS] Installing RCT-Folly (2021.06.28.00-v2)
[INSTALL_PODS] Installing RCTRequired (0.69.6)
[INSTALL_PODS] Installing RCTTypeSafety (0.69.6)
[INSTALL_PODS] Installing React (0.69.6)
[INSTALL_PODS] Installing React-Codegen (0.69.6)
[INSTALL_PODS] Installing React-Core (0.69.6)
[INSTALL_PODS] Installing React-CoreModules (0.69.6)
[INSTALL_PODS] Installing React-RCTActionSheet (0.69.6)
[INSTALL_PODS] Installing React-RCTAnimation (0.69.6)
[INSTALL_PODS] Installing React-RCTBlob (0.69.6)
[INSTALL_PODS] Installing React-RCTImage (0.69.6)
[INSTALL_PODS] Installing React-RCTLinking (0.69.6)
[INSTALL_PODS] Installing React-RCTNetwork (0.69.6)
[INSTALL_PODS] Installing React-RCTSettings (0.69.6)
[INSTALL_PODS] Installing React-RCTText (0.69.6)
[INSTALL_PODS] Installing React-RCTVibration (0.69.6)
[INSTALL_PODS] Installing React-bridging (0.69.6)
[INSTALL_PODS] Installing React-callinvoker (0.69.6)
[INSTALL_PODS] Installing React-cxxreact (0.69.6)
[INSTALL_PODS] Installing React-jsi (0.69.6)
[INSTALL_PODS] Installing React-jsiexecutor (0.69.6)
[INSTALL_PODS] Installing React-jsinspector (0.69.6)
[INSTALL_PODS] Installing React-logger (0.69.6)
[INSTALL_PODS] Installing React-perflogger (0.69.6)
[INSTALL_PODS] Installing React-runtimeexecutor (0.69.6)
[INSTALL_PODS] Installing ReactCommon (0.69.6)
[INSTALL_PODS] Installing Yoga (1.14.0)
[INSTALL_PODS] Installing boost (1.76.0)
[INSTALL_PODS] Installing fmt (6.2.1)
[INSTALL_PODS] Installing glog (0.3.5)
[INSTALL_PODS] Generating Pods project
[INSTALL_PODS] /private/var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/eas-build-local-nodejs/7171ef11-9ad1-4ec2-9689-643c7a855e42/build/ios/Pods/Target Support Files/Pods-myapp/Pods-myapp.release.xcconfig
[INSTALL_PODS] /private/var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/eas-build-local-nodejs/7171ef11-9ad1-4ec2-9689-643c7a855e42/build/ios/Pods/Target Support Files/Pods-myapp/Pods-myapp.debug.xcconfig
[INSTALL_PODS] Setting REACT_NATIVE build settings
[INSTALL_PODS] Integrating client project
[INSTALL_PODS] [!] Please close any current Xcode sessions and use `myapp.xcworkspace` for this project from now on.
[INSTALL_PODS] expo_patch_react_imports! took 0.1256 seconds to transform files.
[INSTALL_PODS] Pod installation complete! There are 42 dependencies from the Podfile and 42 total pods installed.
[CONFIGURE_XCODE_PROJECT] Configuring Xcode project
[CONFIGURE_XCODE_PROJECT] Assigning provisioning profile '*[expo] com.tomxpcvx.myapp AdHoc 1665590591454' (Apple Team ID: T8G3CH646T) to target 'myapp'
[RUN_FASTLANE] Creating Gymfile
[RUN_FASTLANE] Gymfile created
[RUN_FASTLANE] Successfully loaded '/private/var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/eas-build-local-nodejs/7171ef11-9ad1-4ec2-9689-643c7a855e42/build/ios/Gymfile' 📄
[RUN_FASTLANE]
[RUN_FASTLANE] +-----------------------+--------------------------------------+
[RUN_FASTLANE] | Detected Values from './Gymfile' |
[RUN_FASTLANE] +-----------------------+--------------------------------------+
[RUN_FASTLANE] | suppress_xcode_output | true |
[RUN_FASTLANE] | clean | false |
[RUN_FASTLANE] | scheme | myapp |
[RUN_FASTLANE] | configuration | Release |
[RUN_FASTLANE] | export_options | {:method=>"ad-hoc", |
[RUN_FASTLANE] | | :provisioningProfiles=>{"com.tomxpc |
[RUN_FASTLANE] | | vx.myapp"=>"e1057dc8-5b4a-40cd-a838 |
[RUN_FASTLANE] | | -c4e9adf75b83"}} |
[RUN_FASTLANE] | export_xcargs | OTHER_CODE_SIGN_FLAGS="--keychain |
[RUN_FASTLANE] | | /var/folders/zh/x1_mc9ys71nf3k5ybkd |
[RUN_FASTLANE] | | wfk1m0000gn/T/turtle-v2-c4023dca-b7 |
[RUN_FASTLANE] | | 71-4c1c-bb91-98fa4cce0384.keychain" |
[RUN_FASTLANE] | disable_xcpretty | true |
[RUN_FASTLANE] | buildlog_path | /var/folders/zh/x1_mc9ys71nf3k5ybkd |
[RUN_FASTLANE] | | wfk1m0000gn/T/eas-build-local-nodej |
[RUN_FASTLANE] | | s/7171ef11-9ad1-4ec2-9689-643c7a855 |
[RUN_FASTLANE] | | e42/logs |
[RUN_FASTLANE] | output_directory | ./build |
[RUN_FASTLANE] +-----------------------+--------------------------------------+
[RUN_FASTLANE] Resolving Swift Package Manager dependencies...
[RUN_FASTLANE] $ xcodebuild -resolvePackageDependencies -workspace ./myapp.xcworkspace -scheme myapp -configuration Release
[RUN_FASTLANE] ▸ Command line invocation:
[RUN_FASTLANE] ▸ /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace ./myapp.xcworkspace -scheme myapp -configuration Release
[RUN_FASTLANE] ▸ User defaults from command line:
[RUN_FASTLANE] ▸ IDEPackageSupportUseBuiltinSCM = YES
[RUN_FASTLANE] ▸ --- xcodebuild: WARNING: Using the first of multiple matching destinations:
[RUN_FASTLANE] ▸ { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008103-001115C601A2001E }
[RUN_FASTLANE] ▸ { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
[RUN_FASTLANE] ▸ { platform:iOS, id:00008110-xxxxxxxxx, name:iPhone 13 mini }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:14F84473-0CE7-4873-BEFD-FF63C93EDF76, OS:16.0, name:iPad (9th generation) }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:A8F77961-6D1C-412F-8268-66441E16012F, OS:16.0, name:iPad Air (5th generation) }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:8F8ED695-B58E-4ACD-B131-F9977D65DC2D, OS:16.0, name:iPad Pro (9.7-inch) }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:0627D460-3D1F-4438-B7A2-496C58DD1041, OS:16.0, name:iPad Pro (11-inch) (3rd generation) }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:8DA9ACDA-F1AA-489B-A2EF-7A9B117AEA39, OS:16.0, name:iPad Pro (12.9-inch) (5th generation) }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:5A9F6B98-3128-4823-BC18-91FF0B05CFE5, OS:16.0, name:iPad mini (6th generation) }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:414D3B5E-5930-411A-A283-61D96EFABA94, OS:16.0, name:iPhone 8 }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:70D5605B-4CD7-463A-B498-BAE7FCEBD957, OS:16.0, name:iPhone 8 Plus }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:DBD12F81-D2AD-4DA2-8F44-4556F480C7A2, OS:16.0, name:iPhone 11 }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:13CC51F6-4D8D-4906-A975-563486390083, OS:16.0, name:iPhone 11 Pro }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:A9D90AB9-2123-4D09-B417-F081029E99DB, OS:16.0, name:iPhone 11 Pro Max }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:07F46E9E-FA6B-4379-8985-02424438522C, OS:16.0, name:iPhone 12 }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:38F5124D-2AF9-44ED-BB6E-DC926113FD36, OS:16.0, name:iPhone 12 Pro }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:4A9CEFBF-55F0-4B0F-A24C-E62AFD6549F8, OS:16.0, name:iPhone 12 Pro Max }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:CE5B4A91-C700-4A1F-846F-01CE0ECD0F41, OS:16.0, name:iPhone 12 mini }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:1090097F-2CA6-4008-B7B2-204177D3B0BF, OS:16.0, name:iPhone 13 }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:10357341-2ED2-4370-90D6-64960286E359, OS:16.0, name:iPhone 13 Pro }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:B25E31D2-4DCF-4EB1-AD2C-D619E3B194E8, OS:16.0, name:iPhone 13 Pro Max }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:4C320847-97DF-4F9E-AF01-19D19918B86D, OS:16.0, name:iPhone 13 mini }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:90931A0B-2890-43A4-8D81-91A5427B8639, OS:16.0, name:iPhone 14 }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:09C3BCC9-3107-4396-B1A6-4463BFD9C419, OS:16.0, name:iPhone 14 Plus }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:FF614A32-8304-4748-BBC5-D1DC0AF21623, OS:16.0, name:iPhone 14 Pro }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:6B67F31E-C9E2-425F-B7E7-275470B7D82C, OS:16.0, name:iPhone 14 Pro Max }
[RUN_FASTLANE] ▸ { platform:iOS Simulator, id:90F545F6-68EE-448A-BB68-2452F24DAECC, OS:16.0, name:iPhone SE (3rd generation) }
[RUN_FASTLANE] ▸ resolved source packages:
[RUN_FASTLANE] $ xcodebuild -showBuildSettings -workspace ./myapp.xcworkspace -scheme myapp -configuration Release
[RUN_FASTLANE] --- xcodebuild: WARNING: Using the first of multiple matching destinations:
[RUN_FASTLANE] { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008103-001115C601A2001E }
[RUN_FASTLANE] { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
[RUN_FASTLANE] { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
[RUN_FASTLANE] { platform:iOS, id:00008110-xxxxxxxxx, name:iPhone 13 mini }
[RUN_FASTLANE] { platform:iOS Simulator, id:14F84473-0CE7-4873-BEFD-FF63C93EDF76, OS:16.0, name:iPad (9th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:A8F77961-6D1C-412F-8268-66441E16012F, OS:16.0, name:iPad Air (5th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:8F8ED695-B58E-4ACD-B131-F9977D65DC2D, OS:16.0, name:iPad Pro (9.7-inch) }
[RUN_FASTLANE] { platform:iOS Simulator, id:0627D460-3D1F-4438-B7A2-496C58DD1041, OS:16.0, name:iPad Pro (11-inch) (3rd generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:8DA9ACDA-F1AA-489B-A2EF-7A9B117AEA39, OS:16.0, name:iPad Pro (12.9-inch) (5th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:5A9F6B98-3128-4823-BC18-91FF0B05CFE5, OS:16.0, name:iPad mini (6th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:414D3B5E-5930-411A-A283-61D96EFABA94, OS:16.0, name:iPhone 8 }
[RUN_FASTLANE] { platform:iOS Simulator, id:70D5605B-4CD7-463A-B498-BAE7FCEBD957, OS:16.0, name:iPhone 8 Plus }
[RUN_FASTLANE] { platform:iOS Simulator, id:DBD12F81-D2AD-4DA2-8F44-4556F480C7A2, OS:16.0, name:iPhone 11 }
[RUN_FASTLANE] { platform:iOS Simulator, id:13CC51F6-4D8D-4906-A975-563486390083, OS:16.0, name:iPhone 11 Pro }
[RUN_FASTLANE] { platform:iOS Simulator, id:A9D90AB9-2123-4D09-B417-F081029E99DB, OS:16.0, name:iPhone 11 Pro Max }
[RUN_FASTLANE] { platform:iOS Simulator, id:07F46E9E-FA6B-4379-8985-02424438522C, OS:16.0, name:iPhone 12 }
[RUN_FASTLANE] { platform:iOS Simulator, id:38F5124D-2AF9-44ED-BB6E-DC926113FD36, OS:16.0, name:iPhone 12 Pro }
[RUN_FASTLANE] { platform:iOS Simulator, id:4A9CEFBF-55F0-4B0F-A24C-E62AFD6549F8, OS:16.0, name:iPhone 12 Pro Max }
[RUN_FASTLANE] { platform:iOS Simulator, id:CE5B4A91-C700-4A1F-846F-01CE0ECD0F41, OS:16.0, name:iPhone 12 mini }
[RUN_FASTLANE] { platform:iOS Simulator, id:1090097F-2CA6-4008-B7B2-204177D3B0BF, OS:16.0, name:iPhone 13 }
[RUN_FASTLANE] { platform:iOS Simulator, id:10357341-2ED2-4370-90D6-64960286E359, OS:16.0, name:iPhone 13 Pro }
[RUN_FASTLANE] { platform:iOS Simulator, id:B25E31D2-4DCF-4EB1-AD2C-D619E3B194E8, OS:16.0, name:iPhone 13 Pro Max }
[RUN_FASTLANE] { platform:iOS Simulator, id:4C320847-97DF-4F9E-AF01-19D19918B86D, OS:16.0, name:iPhone 13 mini }
[RUN_FASTLANE] { platform:iOS Simulator, id:90931A0B-2890-43A4-8D81-91A5427B8639, OS:16.0, name:iPhone 14 }
[RUN_FASTLANE] { platform:iOS Simulator, id:09C3BCC9-3107-4396-B1A6-4463BFD9C419, OS:16.0, name:iPhone 14 Plus }
[RUN_FASTLANE] { platform:iOS Simulator, id:FF614A32-8304-4748-BBC5-D1DC0AF21623, OS:16.0, name:iPhone 14 Pro }
[RUN_FASTLANE] { platform:iOS Simulator, id:6B67F31E-C9E2-425F-B7E7-275470B7D82C, OS:16.0, name:iPhone 14 Pro Max }
[RUN_FASTLANE] { platform:iOS Simulator, id:90F545F6-68EE-448A-BB68-2452F24DAECC, OS:16.0, name:iPhone SE (3rd generation) }
[RUN_FASTLANE] Command timed out after 3 seconds on try 1 of 4, trying again with a 6 second timeout...
[RUN_FASTLANE] --- xcodebuild: WARNING: Using the first of multiple matching destinations:
[RUN_FASTLANE] { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008103-001115C601A2001E }
[RUN_FASTLANE] { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
[RUN_FASTLANE] { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
[RUN_FASTLANE] { platform:iOS, id:00008110-xxxxxxxxx, name:iPhone 13 mini }
[RUN_FASTLANE] { platform:iOS Simulator, id:14F84473-0CE7-4873-BEFD-FF63C93EDF76, OS:16.0, name:iPad (9th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:A8F77961-6D1C-412F-8268-66441E16012F, OS:16.0, name:iPad Air (5th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:8F8ED695-B58E-4ACD-B131-F9977D65DC2D, OS:16.0, name:iPad Pro (9.7-inch) }
[RUN_FASTLANE] { platform:iOS Simulator, id:0627D460-3D1F-4438-B7A2-496C58DD1041, OS:16.0, name:iPad Pro (11-inch) (3rd generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:8DA9ACDA-F1AA-489B-A2EF-7A9B117AEA39, OS:16.0, name:iPad Pro (12.9-inch) (5th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:5A9F6B98-3128-4823-BC18-91FF0B05CFE5, OS:16.0, name:iPad mini (6th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:414D3B5E-5930-411A-A283-61D96EFABA94, OS:16.0, name:iPhone 8 }
[RUN_FASTLANE] { platform:iOS Simulator, id:70D5605B-4CD7-463A-B498-BAE7FCEBD957, OS:16.0, name:iPhone 8 Plus }
[RUN_FASTLANE] { platform:iOS Simulator, id:DBD12F81-D2AD-4DA2-8F44-4556F480C7A2, OS:16.0, name:iPhone 11 }
[RUN_FASTLANE] { platform:iOS Simulator, id:13CC51F6-4D8D-4906-A975-563486390083, OS:16.0, name:iPhone 11 Pro }
[RUN_FASTLANE] { platform:iOS Simulator, id:A9D90AB9-2123-4D09-B417-F081029E99DB, OS:16.0, name:iPhone 11 Pro Max }
[RUN_FASTLANE] { platform:iOS Simulator, id:07F46E9E-FA6B-4379-8985-02424438522C, OS:16.0, name:iPhone 12 }
[RUN_FASTLANE] { platform:iOS Simulator, id:38F5124D-2AF9-44ED-BB6E-DC926113FD36, OS:16.0, name:iPhone 12 Pro }
[RUN_FASTLANE] { platform:iOS Simulator, id:4A9CEFBF-55F0-4B0F-A24C-E62AFD6549F8, OS:16.0, name:iPhone 12 Pro Max }
[RUN_FASTLANE] { platform:iOS Simulator, id:CE5B4A91-C700-4A1F-846F-01CE0ECD0F41, OS:16.0, name:iPhone 12 mini }
[RUN_FASTLANE] { platform:iOS Simulator, id:1090097F-2CA6-4008-B7B2-204177D3B0BF, OS:16.0, name:iPhone 13 }
[RUN_FASTLANE] { platform:iOS Simulator, id:10357341-2ED2-4370-90D6-64960286E359, OS:16.0, name:iPhone 13 Pro }
[RUN_FASTLANE] { platform:iOS Simulator, id:B25E31D2-4DCF-4EB1-AD2C-D619E3B194E8, OS:16.0, name:iPhone 13 Pro Max }
[RUN_FASTLANE] { platform:iOS Simulator, id:4C320847-97DF-4F9E-AF01-19D19918B86D, OS:16.0, name:iPhone 13 mini }
[RUN_FASTLANE] { platform:iOS Simulator, id:90931A0B-2890-43A4-8D81-91A5427B8639, OS:16.0, name:iPhone 14 }
[RUN_FASTLANE] { platform:iOS Simulator, id:09C3BCC9-3107-4396-B1A6-4463BFD9C419, OS:16.0, name:iPhone 14 Plus }
[RUN_FASTLANE] { platform:iOS Simulator, id:FF614A32-8304-4748-BBC5-D1DC0AF21623, OS:16.0, name:iPhone 14 Pro }
[RUN_FASTLANE] { platform:iOS Simulator, id:6B67F31E-C9E2-425F-B7E7-275470B7D82C, OS:16.0, name:iPhone 14 Pro Max }
[RUN_FASTLANE] { platform:iOS Simulator, id:90F545F6-68EE-448A-BB68-2452F24DAECC, OS:16.0, name:iPhone SE (3rd generation) }
[RUN_FASTLANE] 2022-10-13 11:43:25.927 xcodebuild[80834:1337758] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition
[RUN_FASTLANE] 2022-10-13 11:43:25.927 xcodebuild[80839:1337868] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition
[RUN_FASTLANE] Detected provisioning profile mapping: {:"com.tomxpcvx.myapp"=>"e1057dc8-5b4a-40cd-a838-c4e9adf75b83"}
[RUN_FASTLANE]
[RUN_FASTLANE] +--------------------------------------+--------------------------------------+
[RUN_FASTLANE] | Summary for gym 2.210.1 |
[RUN_FASTLANE] +--------------------------------------+--------------------------------------+
[RUN_FASTLANE] | workspace | ./myapp.xcworkspace |
[RUN_FASTLANE] | scheme | myapp |
[RUN_FASTLANE] | clean | false |
[RUN_FASTLANE] | output_directory | ./build |
[RUN_FASTLANE] | output_name | myapp |
[RUN_FASTLANE] | configuration | Release |
[RUN_FASTLANE] | silent | false |
[RUN_FASTLANE] | skip_package_ipa | false |
[RUN_FASTLANE] | skip_package_pkg | false |
[RUN_FASTLANE] | export_options.method | ad-hoc |
[RUN_FASTLANE] | export_options.provisioningProfiles | e1057dc8-5b4a-40cd-a838-c4e9adf75b8 |
[RUN_FASTLANE] | .com.tomxpcvx.myapp | 3 |
[RUN_FASTLANE] | export_xcargs | OTHER_CODE_SIGN_FLAGS="--keychain |
[RUN_FASTLANE] | | /var/folders/zh/x1_mc9ys71nf3k5ybkd |
[RUN_FASTLANE] | | wfk1m0000gn/T/turtle-v2-c4023dca-b7 |
[RUN_FASTLANE] | | 71-4c1c-bb91-98fa4cce0384.keychain" |
[RUN_FASTLANE] | build_path | /Users/tom/Library/Developer/Xcode/ |
[RUN_FASTLANE] | | Archives/2022-10-13 |
[RUN_FASTLANE] | result_bundle | false |
[RUN_FASTLANE] | buildlog_path | /var/folders/zh/x1_mc9ys71nf3k5ybkd |
[RUN_FASTLANE] | | wfk1m0000gn/T/eas-build-local-nodej |
[RUN_FASTLANE] | | s/7171ef11-9ad1-4ec2-9689-643c7a855 |
[RUN_FASTLANE] | | e42/logs |
[RUN_FASTLANE] | destination | generic/platform=iOS |
[RUN_FASTLANE] | suppress_xcode_output | true |
[RUN_FASTLANE] | xcodebuild_formatter | xcpretty |
[RUN_FASTLANE] | disable_xcpretty | true |
[RUN_FASTLANE] | skip_profile_detection | false |
[RUN_FASTLANE] | xcodebuild_command | xcodebuild |
[RUN_FASTLANE] | skip_package_dependencies_resolutio | false |
[RUN_FASTLANE] | n | |
[RUN_FASTLANE] | disable_package_automatic_updates | false |
[RUN_FASTLANE] | use_system_scm | false |
[RUN_FASTLANE] | xcode_path | /Applications/Xcode.app |
[RUN_FASTLANE] +--------------------------------------+--------------------------------------+
[RUN_FASTLANE] $ set -o pipefail && xcodebuild -workspace ./myapp.xcworkspace -scheme myapp -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/tom/Library/Developer/Xcode/Archives/2022-10-13/myapp\ 2022-10-13\ 11.43.26.xcarchive archive | tee /var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/eas-build-local-nodejs/7171ef11-9ad1-4ec2-9689-643c7a855e42/logs/myapp-myapp.log > /dev/null
[RUN_FASTLANE] 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 build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
[RUN_FASTLANE] Run script build phase 'Start Packager' 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 on dependency analysis" in the script phase. (in target 'myapp' from project 'myapp')
[RUN_FASTLANE] 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 on dependency analysis" in the script phase. (in target 'myapp' from project 'myapp')
[RUN_FASTLANE] ▸ ** ARCHIVE FAILED **
[RUN_FASTLANE] ** ARCHIVE FAILED **
[RUN_FASTLANE] Exit status: 65
[RUN_FASTLANE]
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE] | Build environment |
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE] | xcode_path | /Applications/Xcode.app |
[RUN_FASTLANE] | gym_version | 2.210.1 |
[RUN_FASTLANE] | sdk | iPhoneOS16.0.sdk |
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE] Looks like fastlane ran into a build/archive error with your project
[RUN_FASTLANE] It's hard to tell what's causing the error, so we wrote some guides on how
[RUN_FASTLANE] to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[RUN_FASTLANE] Before submitting an issue on GitHub, please follow the guide above and make
[RUN_FASTLANE] sure your project is set up correctly.
[RUN_FASTLANE] fastlane uses `xcodebuild` commands to generate your binary, you can see the
[RUN_FASTLANE] the full commands printed out in yellow in the above log.
[RUN_FASTLANE] Make sure to inspect the output above, as usually you'll find more error information there
[RUN_FASTLANE] [!] Error building the application - see the log above
[RUN_FASTLANE] Error: Fastlane build failed with unknown error. See logs for the "Run fastlane" and "Xcode Logs" phases for more information.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.
[CLEAN_UP_CREDENTIALS] Destroying keychain - /var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/turtle-v2-c4023dca-b771-4c1c-bb91-98fa4cce0384.keychain
[CLEAN_UP_CREDENTIALS] Removing provisioning profile
Build failed
Fastlane build failed with unknown error. See logs for the "Run fastlane" and "Xcode Logs" phases for more information.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.
Error: npx exited with non-zero code: 1
Run EAS_LOCAL_BUILD_SKIP_CLEANUP=1 eas build --profile preview --local and look for the line that looks something like:
[RUN_FASTLANE] $ set -o pipefail && xcodebuild -workspace ./myapp.xcworkspace -scheme myapp -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/tom/Library/Developer/Xcode/Archives/2022-10-13/myapp\ 2022-10-13\ 11.43.26.xcarchive archive | tee /var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/eas-build-local-nodejs/7171ef11-9ad1-4ec2-9689-643c7a855e42/logs/myapp-myapp.log > /dev/null
The ID (uuid) will be different, I copied the line from your logs. The Xcode build logs should be at path similar to /var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/eas-build-local-nodejs/7171ef11-9ad1-4ec2-9689-643c7a855e42/logs/myapp-myapp.log
The path to the Xcode build logs directory is also printed next to "buildlog_path"
I think this should it be:
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace ./myapp.xcworkspace -scheme myapp -configuration Release -destination generic/platform=iOS -archivePath "/Users/tom/Library/Developer/Xcode/Archives/2022-10-13/myapp 2022-10-13 12.32.40.xcarchive" archive
User defaults from command line:
IDEArchivePathOverride = /Users/tom/Library/Developer/Xcode/Archives/2022-10-13/myapp 2022-10-13 12.32.40.xcarchive
IDEPackageSupportUseBuiltinSCM = YES
Prepare packages
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: 53dc8794b8af2ef5c05a16d724f0d275
Build description path: /Users/tom/Library/Developer/Xcode/DerivedData/myapp-hkyyccjdipblwraevkbwwixpebzs/Build/Intermediates.noindex/ArchiveIntermediates/myapp/IntermediateBuildFilesPath/XCBuildData/53dc8794b8af2ef5c05a16d724f0d275-desc.xcbuild
note: Building targets in dependency order
warning: 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 build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
/var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/eas-build-local-nodejs/8af699d3-a959-406d-b040-26d41ef24cf8/build/ios/myapp.xcodeproj: error: Provisioning profile "*[expo] com.tomxpcvx.myapp AdHoc xxxx" doesn't include signing certificate "Apple Distribution: xxx". (in target 'myapp' from project 'myapp')
warning: Run script build phase 'Start Packager' 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 on dependency analysis" in the script phase. (in target 'myapp' from project 'myapp')
warning: 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 on dependency analysis" in the script phase. (in target 'myapp' from project 'myapp')
So this is the error:
/var/folders/zh/x1_mc9ys71nf3k5ybkdwfk1m0000gn/T/eas-build-local-nodejs/8af699d3-a959-406d-b040-26d41ef24cf8/build/ios/myapp.xcodeproj: error: Provisioning profile "*[expo] com.tomxpcvx.myapp AdHoc xxxx" doesn't include signing certificate "Apple Distribution: xxx". (in target 'myapp' from project 'myapp')
The provisioning profile you're using to sign your app is generated for another distribution certificate. Not for the one you're using with eas.
Whatever is the cause, this is not a problem with EAS Build / local builds so I'm closing the issue
Okay, according to your message I deleted all Certificates, Identifiers & Profiles that exists on my Apple Developer profile. After this I repeat the process. EAS generates the stuff again and the error still exists. For me the problem isn't closed.
For anyone who also has this problem, the certificates generated by EAS are absolute garbage. After I generated the distribution certificates by hand, added them to the keychain and then deleted the .expo folder once, everything worked without problems.