IOS Build Error Help

Can anyone point me in the right direction as to what is happening here? I am having hell with the IOS build.

Hey,
Your build for application CI Build app (DO NOT USE) ended up failing.

We detected at least the following error in the build:

AB version: 1.7.0 COMMAND: ASSETS_ARCHIVE_URL=https://appgyver-meap-assets.s3.amazonaws.com/lwzxk89e6axwkhvu41n4m4dxhup2?response-content-disposition=attachment%3B%20filename%3D"assets.zip"%3B%20filename*%3DUTF-8’'assets.zip&response-content-type=application%2Fzip&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJJSXXQRL4UNGBAXQ%2F20220720%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220720T181832Z&X-Amz-Expires=172800&X-Amz-SignedHeaders=host&X-Amz-Signature=55740fefd0a3f36bf88e3368faec968bc03f37595d1d975bdb941f4e3e4fc9e0 npxrnv export -p ios -s standalone_appstore -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.5.7 -r --xcodebuildArchiveArgs “OTHER_CODE_SIGN_FLAGS="–keychain\ AppGyver-531805"” FAILED with ERROR: │ [ error ] [export] COMMAND: xcodebuildOTHER_CODE_SIGN_FLAGS=–keychain AppGyver-531805 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531805-ios-233252/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531805-ios-233252/platformBuilds/standalone_ios/release/RNVApp.xcarchive FAILED with ERROR: 2022-07-20 18:26:24.225 xcodebuild[84561:13734900] DVTProvisioningProfileManager: Failed to load profile “/Users/ec2-user/Library/MobileDevice/Provisioning Profiles/undefined.mobileprovision” (Error Domain=DVTProvisioningProfileProviderErrorDomain Code=1 “Failed to load profile.” UserInfo={NSLocalizedDescription=Failed to load profile., NSLocalizedRecoverySuggestion=Profile is missing the required UUID property.}) — xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device } { platform:iOS Simulator, id:7930E789-42C8-4940-91B2-687D7BC95DD1, OS:15.2, name:iPad (9th generation) } { platform:iOS Simulator, id:342403C4-F663-4E78-8BD6-22220F8446ED, OS:15.2, name:iPad Air (4th generation) } error: No signing certificate “iOS Distribution” found: No “iOS Distribution” signing certificate matching team ID “82ZZA4FVUD” with a private key was found. (in target ‘RNVApp’ from project ‘RNVApp’) ** ARCHIVE FAILED ** Command failed with exit code 65: xcodebuild OTHER_CODE_SIGN_FLAGS=–keychain AppGyver-531805 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531805-ios-233252/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531805-ios-233252/platformBuilds/standalone_ios/release/RNVApp.xcarchive 2022-07-20 18:26:24.225 xcodebuild[84561:13734900] DVTProvisioningProfileManager: Failed to load profile “/Users/ec2-user/Library/MobileDevice/Provisioning Profiles/undefined.mobileprovision” (Error Domain=DVTProvisioningProfileProviderErrorDomain Code=1 “Failed to load profile.” UserInfo={NSLocalizedDescription=Failed to load profile., NSLocalizedRecoverySuggestion=Profile is missing the required UUID property.}) — xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device } { platform:iOS Simulator, id:7930E789-42C8-4940-91B2-687D7BC95DD1, OS:15.2, name:iPad (9th generation) } { platform:iOS Simulator, id:342403C4-F663-4E78-8BD6-22220F8446ED, OS:15.2, name:iPad Air (4th generation) } error: No signing certificate “iOS Distribution” found: No “iOS Distribution” signing certificate matching team ID “82ZZA4FVUD” with a private key was found. (in target ‘RNVApp’ from project ‘RNVApp’) 2022-07-20 18:26:24.225 xcodebuild[84561:13734900] DVTProvisioningProfileManager: Failed to load profile “/Users/ec2-user/Library/MobileDevice/Provisioning Profiles/undefined.mobileprovision” (Error Domain=DVTProvisioningProfileProviderErrorDomain Code=1 “Failed to load profile.” UserInfo={NSLocalizedDescription=Failed to load profile., NSLocalizedRecoverySuggestion=Profile is missing the required UUID property.}) — xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device } { platform:iOS Simulator, id:7930E789-42C8-4940-91B2-687D7BC95DD1, OS:15.2, name:iPad (9th generation) } { platform:iOS Simulator, id:342403C4-F663-4E78-8BD6-22220F8446ED, OS:15.2, name:iPad Air (4th generation) } Error: Command failed with exit code 65: xcodebuild OTHER_CODE_SIGN_FLAGS=–keychain AppGyver-531805 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531805-ios-233252/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531805-ios-233252/platformBuilds/standalone_ios/release/RNVApp.xcarchive 2022-07-20 18:26:24.225 xcodebuild[84561:13734900] DVTProvisioningProfileManager: Failed to load profile “/Users/ec2-user/Library/MobileDevice/Provisioning Profiles/undefined.mobileprovision” (Error Domain=DVTProvisioningProfileProviderErrorDomain Code=1 “Failed to load profile.” UserInfo={NSLocalizedDescription=Failed to load profile., NSLocalizedRecoverySuggestion=Profile is missing the required UUID property.}) — xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device } { platform:iOS Simulator, id:7930E789-42C8-4940-91B2-687D7BC95DD1, OS:15.2, name:iPad (9th generation) } { platform:iOS Simulator, id:342403C4-F663-4E78-8BD6-22220F8446ED, OS:15.2, name:iPad Air (4th generation) } error: No signing certificate “iOS Distribution” found: No “iOS Distribution” signing certificate matching team ID “82ZZA4FVUD” with a private key was found. (in target ‘RNVApp’ from project ‘RNVApp’) at makeError (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531805-ios-233252/node_modules/execa/lib/error.js:60:11) at handlePromise (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531805-ios-233252/node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5) │ │ │ Project location: │ │ ./platformBuilds/standalone_ios/RNVApp.xcworkspace │

There’s a thread similar to yours here: Build Error - Failed to fetch assets Error

1 Like

I think this may have to do with the certificate and the provisioning profile. I rebuilt them and am trying again.

@Harri_Sarsa @Mevi can you provide any incite with this? I tried rebuilding the certificates and the profile.

FAILED with ERROR: 2022-07-25 19:31:54.578 xcodebuild[38076:15161256] DVTProvisioningProfileManager: Failed to load profile “/Users/ec2-user/Library/MobileDevice/Provisioning Profiles/undefined.mobileprovision” (Error Domain=DVTProvisioningProfileProviderErrorDomain Code=1 “Failed to load profile.” UserInfo={NSLocalizedDescription=Failed to load profile., NSLocalizedRecoverySuggestion=Profile is missing the required UUID property.}) — xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device } { platform:iOS Simulator, id:7930E789-42C8-4940-91B2-687D7BC95DD1, OS:15.2, name:iPad (9th generation) } { platform:iOS Simulator, id:342403C4-F663-4E78-8BD6-22220F8446ED, OS:15.2, name:iPad Air (4th generation) } error: No signing certificate “iOS Distribution” found: No “iOS Distribution” signing certificate matching team ID “82ZZA4FVUD” with a private key was found. (in target ‘RNVApp’ from project ‘RNVApp’) ** ARCHIVE FAILED ** Command failed with exit code 65: xcodebuild OTHER_CODE_SIGN_FLAGS=–keychain AppGyver-531805 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531805-ios-234182/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531805-ios-234182/platformBuilds/standalone_ios/release/RNVApp.xcarchive 2022-07-25 19:31:54.578 xcodebuild[38076:15161256] DVTProvisioningProfileManager: Failed to load profile “/Users/ec2-user/Library/MobileDevice/Provisioning Profiles/undefined.mobileprovision” (Error Domain=DVTProvisioningProfileProviderErrorDomain Code=1 “Failed to load profile.” UserInfo={NSLocalizedDescription=Failed to load profile., NSLocalizedRecoverySuggestion=Profile is missing the required UUID property.})