iOS Build Error since 3 days

Hello all,

since a few days I am not able to compile my iOS application. I always get the error that no iOS distribution certificate is found. Even a renewal of all certificates has led to no success.
Please help me urgently, because this app is already in the App Store and urgently needs a bug fix.

App ID: 448364

Runtime version: 4.6.11; AB version: 1.7.6 COMMAND: ASSETS_ARCHIVE_URL=https://appgyver-meap-assets.s3.amazonaws.com/182iqidfsyi8os7bzcc35dbzgaho?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%2F20220927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220927T094130Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ee5e57e1d615f32998a9f811b465c628aa26a375bd70d70619d96d94a79df2df npxrnv export -p ios -s standalone_appstore -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.6.11 -r --xcodebuildArchiveArgs “OTHER_CODE_SIGN_FLAGS="–keychain\ AppGyver-551024"” FAILED with ERROR: │ [ error ] [export] COMMAND: xcodebuildOTHER_CODE_SIGN_FLAGS=–keychain AppGyver-551024 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/551024-ios-246343/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/551024-ios-246343/platformBuilds/standalone_ios/release/RNVApp.xcarchive FAILED with ERROR: error: No signing certificate “iOS Distribution” found: No “iOS Distribution” signing certificate matching team ID “U7W3M4JRCU” 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-551024 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/551024-ios-246343/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/551024-ios-246343/platformBuilds/standalone_ios/release/RNVApp.xcarchive — 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 } error: No signing certificate “iOS Distribution” found: No “iOS Distribution” signing certificate matching team ID “U7W3M4JRCU” with a private key was found. (in target ‘RNVApp’ from project ‘RNVApp’) — 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-551024 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/551024-ios-246343/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/551024-ios-246343/platformBuilds/standalone_ios/release/RNVApp.xcarchive — 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 “U7W3M4JRCU” with a private key was found. (in target ‘RNVApp’ from project ‘RNVApp’) at makeError (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/551024-ios-246343/node_modules/execa/lib/error.js:60:11) at handlePromise (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/551024-ios-246343/node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5) │ │ │ Project location: │ │ ./platformBuilds/standalone_ios/RNVApp.xcworkspace

Did you make sure that the …p12 file has been uploaded to the build configuration and also the correct mobile.provision file?

I had a similar error, but only because I didn’t pay attention and uploaded the .cer file instead of the .p12 file… :sweat_smile:

Yes, it has worked wonderfully for the last few months. This error has only appeared since last week. I have also tried to renew both certificates without success.

Yeah, well, this is strange then… I managed to build IOS builds in the past few days without any issues.

And the above error really only mentions issues with the .p12 file. I cannot think of any other issue. Maybe when “Configuring the build” upload the new .p12 file and click through all “Save & next” buttons, to make sure it is saved in the configuration.

I am also seeing the same error/issue since yesterday. The builds are queueing for longer than normal than I get errors like the above despite the same app building many times before failing 3 times yesterday.

Exactly. It takes 1-2 hours to build.

1 Like

I have now renewed all certificates for the 3rd time. Tested on several projects and always get the same error. I am quite frustrated as our customers ask for the update every day…

Runtime version: 4.6.11; AB version: 1.7.6 COMMAND: ASSETS_ARCHIVE_URL=https://appgyver-meap-assets.s3.amazonaws.com/99267hdwbeu65icu86dmy91htdc7?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%2F20220927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220927T140706Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=2e413b4b8d6a79a5b0a95176855c0ed12fed1e62a9682bdf1a9e079818921f9b npxrnv export -p ios -s standalone_appstore -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.6.11 -r --xcodebuildArchiveArgs “OTHER_CODE_SIGN_FLAGS="–keychain\ AppGyver-576122"” FAILED with ERROR: │ [ error ] [export] COMMAND: xcodebuildOTHER_CODE_SIGN_FLAGS=–keychain AppGyver-576122 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/576122-ios-246753/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/576122-ios-246753/platformBuilds/standalone_ios/release/RNVApp.xcarchive FAILED with ERROR: error: No signing certificate “iOS Distribution” found: No “iOS Distribution” signing certificate matching team ID “U7W3M4JRCU” 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-576122 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/576122-ios-246753/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/576122-ios-246753/platformBuilds/standalone_ios/release/RNVApp.xcarchive — 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 } error: No signing certificate “iOS Distribution” found: No “iOS Distribution” signing certificate matching team ID “U7W3M4JRCU” with a private key was found. (in target ‘RNVApp’ from project ‘RNVApp’) — 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-576122 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/576122-ios-246753/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/576122-ios-246753/platformBuilds/standalone_ios/release/RNVApp.xcarchive — 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 “U7W3M4JRCU” with a private key was found. (in target ‘RNVApp’ from project ‘RNVApp’) at makeError (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/576122-ios-246753/node_modules/execa/lib/error.js:60:11) at handlePromise (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/576122-ios-246753/node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5) │ │ │ Project location: │ │ ./platformBuilds/standalone_ios/RNVApp.xcworkspace │

I’m also having this issue. Builds taking several hours then erroring out. I’ve re-uploaded the same .p12 file and .mobileprovision file that we’ve always been using to make builds and it simply won’t build. Been having this problem since yesterday.

I would go upvote some of the issue tickets on this. Piecing this all together, seems like the issue we are encountering on iOS builds coincides with the latest release of Xcode.

I am also experiencing this issue, is there a fix in the works?

I’ve created the p12 certificate 3 times via the Apple Dashboard and it still fails.

1 Like

Any update on this? Been a week now.

You might want to try now. After not being able to build in 10 attempts was able to build just now.

What version did you use? Been building all day and every one fails.

Sorry to hear. It worked on 4.6.11 yesterday morning EST.

Also having this issue now. All previous builds were successful.

Yes exactly the same thing, positive all my certificates etc. were correct, after many failed attempts got it to work!