Attentions from AppStore Connect

The devs must have made a change as I DIDN´T Regen the certificate, it just started working on 4.1.6

1 Like

Hi @Mevi and @Kristian_Gerkman , I’m having buid failures again. It built fine last week after you guys made some changes, but now I’m getting the following error:

Runtime version: 4.2.12; AB version: 1.6.2 COMMAND: npxrnv export -p ios -s standalone_appstore -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.2.12 -r --xcodebuildArchiveArgs “OTHER_CODE_SIGN_FLAGS=”–keychain\ AppGyver-316201"" FAILED with ERROR: │ [ error ] [export] COMMAND: xcodebuildOTHER_CODE_SIGN_FLAGS=–keychain AppGyver-316201 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/316201-ios-221742/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/316201-ios-221742/platformBuilds/standalone_ios/release/RNVApp.xcarchive FAILED with ERROR: 2022-05-24 13:12:33.830 xcodebuild[2547:8125696] 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 “GUUMP8S793” 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-316201 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/316201-ios-221742/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/316201-ios-221742/platformBuilds/standalone_ios/release/RNVApp.xcarchive 2022-05-24 13:12:33.830 xcodebuild[2547:8125696] 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 “GUUMP8S793” with a private key was found. (in target ‘RNVApp’ from project ‘RNVApp’) 2022-05-24 13:12:33.830 xcodebuild[2547:8125696] 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-316201 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/316201-ios-221742/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/316201-ios-221742/platformBuilds/standalone_ios/release/RNVApp.xcarchive 2022-05-24 13:12:33.830 xcodebuild[2547:8125696] 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 “GUUMP8S793” with a private key was found. (in target ‘RNVApp’ from project ‘RNVApp’) at makeError (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/316201-ios-221742/node_modules/execa/lib/error.js:60:11) at handlePromise (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/316201-ios-221742/node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5) │ │ │ Project location: │ │ ./platformBuilds/standalone_ios/RNVApp.xcworkspace │

I used build version 4.2.12 (which worked last week) and it failed, I also tried 4.3.6 but same error. any ideas?

I would run it 3 - 4 times. I have had quite intermittent results.

It seems that the build process keeps losing the certificate or not including them. Don´t bother recreating or reloading them, its not the cause.

Above all, be lucky and think lucky.

1 Like

@Phil_Evans Wait, are you saying that with the same certificates (with nothing changed) the building sometimes fails with this error and sometimes doesn’t? :face_with_raised_eyebrow:

100%, yes.

Its the appgyver randomising function. Look at the IOS build log for my app and try to explain the fails, and then the subsequent successes. I did nothing to get the successes.