6
iOS Build failing_
complete
B
BRENTON RICHARDS
This started happening several weeks ago without resolution. it states that no iOS distribution certificate and or provisioning file has been found matching my Apple app id. I re uploaded both files but am still getting the issue.
We detected at least the following error in the build:
AB version: 1.7.8 COMMAND: ASSETS_ARCHIVE_URL=https://appgyver-meap-assets.s3.amazonaws.com/an8pxs6vem1o0fstuws1hpyig6aj?response-content-disposition=attachment%3B%20filename%3D%22assets.zip%22%3B%20filename%2A%3DUTF-8%27%27assets.zip&response-content-type=application%2Fzip&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJJSXXQRL4UNGBAXQ%2F20221124%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221124T181557Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=c0420f52fc2230b9d397ad6def38d83036de5f3b8197f8c5fee30d88960b23e1 npxrnv export -p ios -s standalone_appstore -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.6.22 -r --xcodebuildArchiveArgs "OTHER_CODE_SIGN_FLAGS=\"--keychain\ AppGyver-531152\"" FAILED with ERROR: │ [ error ] [export] COMMAND: xcodebuildOTHER_CODE_SIGN_FLAGS=--keychain AppGyver-531152 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531152-ios-258618/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531152-ios-258618/platformBuilds/standalone_ios/release/RNVApp.xcarchive FAILED with ERROR: error: No signing certificate "iOS Distribution" found: No "iOS Distribution" signing certificate matching team ID "YM853Q29MW" 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-531152 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531152-ios-258618/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531152-ios-258618/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 "YM853Q29MW" 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-531152 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531152-ios-258618/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531152-ios-258618/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 "YM853Q29MW" with a private key was found. (in target 'RNVApp' from project 'RNVApp') at makeError (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531152-ios-258618/node_modules/execa/lib/error.js:60:11) at handlePromise (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/531152-ios-258618/node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5) │ │ │ Project location: │ │ ./platformBuilds/standalone_ios/RNVApp.xcworkspace │see below. Thank you.
Log In
T
Timo Kapanen
complete
Closing this as issue was analysed and solution proposed. No further feedback from the developer
J
Joel D
Timo Kapanen I second this. If I keep trying it usually works eventually, but it can take 4-5 tries. Happens on all of my apps (iOS versions.)
Looks like a very common issue, although most people are opening their own threads: https://appgyver.canny.io/bug-reports?search=ASSETS_ARCHIVE_URL
T
Timo Kapanen
under review
T
Timo Kapanen
Hi BRENTON RICHARDS and sorry that it has taken so long to get back to you. We studied this issue and looks like the certificate you are using is invalid or somehow corrupted, see the screenshot. That's causing the build to fail. Best Regards, Timo Kapanen
I am copy-pasting here also information from another ticket how one developer managed to solve similar kind of issue:
"Remembering that I did this procedure via Windows, so I don't know how to resolve it via MAC.
What I did was Create My Certificate following this tutorial:
Finally, to send the App to the Apple Store I used the following tutorial:
Remembering that this worked for me, I can't guarantee it will work for everyone! "
