error while building IOS

Before posting your question, make sure you’ve read the documentation for both EAS Build & Submit.

If your Android or iOS build is failing- make sure you do your own research on the error message first before posting (this will give you a better understanding, and you might even find that someone else has already solved the issue!) It is not up to the Expo team to debug your project or build.

In your post, please share:

  • Whether you are bare or managed workflow
  • Your eas-cli >=2.6.0
  • What you have tried so

while building ios platform i am getting the fallowing errors

▸ resolved source packages:

$ xcodebuild -showBuildSettings -workspace ./myappnoticetest.xcworkspace -scheme myappnoticetest -configuration Release

[stderr] --- xcodebuild: WARNING: Using the first of multiple matching destinations:

[stderr] { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }

[stderr] { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }

[stderr] { platform:iOS Simulator, id:12DF1F1F-6206-4BDD-A49F-A0D3456DF497, OS:16.0, name:iPad (9th generation) }

[stderr] { platform:iOS Simulator, id:45E053AA-59FB-41B7-8DCA-2B11D2392A47, OS:16.0, name:iPad Air (5th generation) }

[stderr] { platform:iOS Simulator, id:7D6C0D20-8EEC-4074-9347-4F2DED6B610C, OS:16.0, name:iPad Pro (11-inch) (3rd generation) }

[stderr] { platform:iOS Simulator, id:A30864C0-A249-427B-B2F5-02B94465B342, OS:16.0, name:iPad Pro (12.9-inch) (5th generation) }

[stderr] { platform:iOS Simulator, id:823E8F2B-3928-438B-877F-E57CBB4D4227, OS:16.0, name:iPad mini (6th generation) }

[stderr] { platform:iOS Simulator, id:E4F0A83E-5E75-4C8A-A871-796043E2CD97, OS:16.0, name:iPhone 14 }

[stderr] { platform:iOS Simulator, id:8CF852C2-D053-4020-A861-01D707EE7C7B, OS:16.0, name:iPhone 14 Plus }

[stderr] { platform:iOS Simulator, id:FE2944BA-74BD-416E-93BB-3DC56388EF16, OS:16.0, name:iPhone 14 Pro }

[stderr] { platform:iOS Simulator, id:DD553D4E-CD22-4A2B-B095-50D480238D15, OS:16.0, name:iPhone 14 Pro Max }

[stderr] { platform:iOS Simulator, id:1F7C3904-A8F9-44F2-B6D0-31F51493EA22, OS:16.0, name:iPhone SE (3rd generation) }

Command timed out after 3 seconds on try 1 of 4, trying again with a 6 second timeout...

[stderr] --- xcodebuild: WARNING: Using the first of multiple matching destinations:

[stderr] { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }

[stderr] { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }

[stderr] { platform:iOS Simulator, id:12DF1F1F-6206-4BDD-A49F-A0D3456DF497, OS:16.0, name:iPad (9th generation) }

[stderr] { platform:iOS Simulator, id:45E053AA-59FB-41B7-8DCA-2B11D2392A47, OS:16.0, name:iPad Air (5th generation) }

[stderr] { platform:iOS Simulator, id:7D6C0D20-8EEC-4074-9347-4F2DED6B610C, OS:16.0, name:iPad Pro (11-inch) (3rd generation) }

[stderr] { platform:iOS Simulator, id:A30864C0-A249-427B-B2F5-02B94465B342, OS:16.0, name:iPad Pro (12.9-inch) (5th generation) }

[stderr] { platform:iOS Simulator, id:823E8F2B-3928-438B-877F-E57CBB4D4227, OS:16.0, name:iPad mini (6th generation) }

[stderr] { platform:iOS Simulator, id:E4F0A83E-5E75-4C8A-A871-796043E2CD97, OS:16.0, name:iPhone 14 }

[stderr] { platform:iOS Simulator, id:8CF852C2-D053-4020-A861-01D707EE7C7B, OS:16.0, name:iPhone 14 Plus }

[stderr] { platform:iOS Simulator, id:FE2944BA-74BD-416E-93BB-3DC56388EF16, OS:16.0, name:iPhone 14 Pro }

[stderr] { platform:iOS Simulator, id:DD553D4E-CD22-4A2B-B095-50D480238D15, OS:16.0, name:iPhone 14 Pro Max }

[stderr] { platform:iOS Simulator, id:1F7C3904-A8F9-44F2-B6D0-31F51493EA22, OS:16.0, name:iPhone SE (3rd generation) }

[stderr] 2023-01-06 02:09:39.152 xcodebuild[4115:11761] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition

[stderr] 2023-01-06 02:09:39.233 xcodebuild[4104:11674] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition

Detected provisioning profile mapping: {:"com.ypo.myappnoticetest"=>"753b5485-a6bb-4fd0-8ba5-2fe6a8324e13"}

+-------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+

|                                                                                          Summary for gym 2.210.0                                                                                          |

+-------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+

| workspace                                                   | ./myappnoticetest.xcworkspace                                                                                                               |

| scheme                                                      | myappnoticetest                                                                                                                             |

| clean                                                       | false                                                                                                                                       |

| output_directory                                            | ./build                                                                                                                                     |

| output_name                                                 | myappnoticetest                                                                                                                             |

| configuration                                               | Release                                                                                                                                     |

| silent                                                      | false                                                                                                                                       |

| skip_package_ipa                                            | false                                                                                                                                       |

| skip_package_pkg                                            | false                                                                                                                                       |

| export_options.method                                       | ad-hoc                                                                                                                                      |

| export_options.provisioningProfiles.com.ypo.myappnoticetest | 753b5485-a6bb-4fd0-8ba5-2fe6a8324e13                                                                                                        |

| export_xcargs                                               | OTHER_CODE_SIGN_FLAGS="--keychain /var/folders/h2/gp9wlkv11lg0qj6y2mnqgc_40000gn/T/turtle-v2-82af26a8-4b68-42d9-a4ac-fe630093f9e3.keychain" |

| build_path                                                  | /Users/expo/Library/Developer/Xcode/Archives/2023-01-06                                                                                     |

| result_bundle                                               | false                                                                                                                                       |

| buildlog_path                                               | /Users/expo/workingdir/logs                                                                                                                 |

| destination                                                 | generic/platform=iOS                                                                                                                        |

| suppress_xcode_output                                       | true                                                                                                                                        |

| xcodebuild_formatter                                        | xcpretty                                                                                                                                    |

| disable_xcpretty                                            | true                                                                                                                                        |

| skip_profile_detection                                      | false                                                                                                                                       |

| xcodebuild_command                                          | xcodebuild                                                                                                                                  |

| skip_package_dependencies_resolution                        | false                                                                                                                                       |

| disable_package_automatic_updates                           | false                                                                                                                                       |

| use_system_scm                                              | false                                                                                                                                       |

| xcode_path                                                  | /Applications/Xcode.app                                                                                                                     |

+-------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+

$ set -o pipefail && xcodebuild -workspace ./myappnoticetest.xcworkspace -scheme myappnoticetest -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/expo/Library/Developer/Xcode/Archives/2023-01-06/myappnoticetest\ 2023-01-06\ 02.09.40.xcarchive archive | tee /Users/expo/workingdir/logs/myappnoticetest-myappnoticetest.log > /dev/null



❌  error: API request failed

› Generating debug myappnoticetest » myappnoticetest.app.dSYM

    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 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 unchecking "Based on dependency analysis" in the script phase. (in target 'EXUpdates' from project 'Pods')

▸ ** ARCHIVE FAILED **

▸ The following build commands failed:

▸ 	PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/myappnoticetest-cucfvrfaviandpfvisgagobhcaxd/Build/Intermediates.noindex/ArchiveIntermediates/myappnoticetest/IntermediateBuildFilesPath/myappnoticetest.build/Release-iphoneos/myappnoticetest.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target 'myappnoticetest' from project 'myappnoticetest')

▸ (1 failure)

** ARCHIVE FAILED **

The following build commands failed:

	PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/myappnoticetest-cucfvrfaviandpfvisgagobhcaxd/Build/Intermediates.noindex/ArchiveIntermediates/myappnoticetest/IntermediateBuildFilesPath/myappnoticetest.build/Release-iphoneos/myappnoticetest.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target 'myappnoticetest' from project 'myappnoticetest')

(1 failure)

Exit status: 65

+-------------+-------------------------+

|           Build environment           |

+-------------+-------------------------+

| xcode_path  | /Applications/Xcode.app |

| gym_version | 2.210.0                 |

| sdk         | iPhoneOS16.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.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 the

the 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

[stderr] [!] Error building the application - see the log above

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.