iOS Build Issues

Hi
I am facing below build issues. Please help.
App ID 336554
Runtime Version: 4.5.7

Runtime version: 4.5.7; AB version: 1.7.0 COMMAND: ASSETS_ARCHIVE_URL=https://appgyver-meap-assets.s3.amazonaws.com/opo5j8fnkmfbdpw7reicyicls2r3?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%2F20220801%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220801T085527Z&X-Amz-Expires=172800&X-Amz-SignedHeaders=host&X-Amz-Signature=3e1dc8e82b5366e0546368ce1e88b2d402b20da789a766db432c35b96e290e16 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-438805"” FAILED with ERROR: │ [ error ] [export] COMMAND: xcodebuildOTHER_CODE_SIGN_FLAGS=–keychain AppGyver-438805 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235424/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235424/platformBuilds/standalone_ios/release/RNVApp.xcarchive FAILED with ERROR: 2022-08-01 09:04:07.189 xcodebuild[37667:18181451] 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: Provisioning profile “en.pro” doesn’t support the Push Notifications capability. (in target ‘RNVApp’ from project ‘RNVApp’) error: Provisioning profile “en.pro” doesn’t include the aps-environment entitlement. (in target ‘RNVApp’ from project ‘RNVApp’) ** ARCHIVE FAILED ** Command failed with exit code 65: xcodebuild OTHER_CODE_SIGN_FLAGS=–keychain AppGyver-438805 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235424/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235424/platformBuilds/standalone_ios/release/RNVApp.xcarchive 2022-08-01 09:04:07.189 xcodebuild[37667:18181451] 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: Provisioning profile “en.pro” doesn’t support the Push Notifications capability. (in target ‘RNVApp’ from project ‘RNVApp’) error: Provisioning profile “en.pro” doesn’t include the aps-environment entitlement. (in target ‘RNVApp’ from project ‘RNVApp’) 2022-08-01 09:04:07.189 xcodebuild[37667:18181451] 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-438805 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235424/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235424/platformBuilds/standalone_ios/release/RNVApp.xcarchive 2022-08-01 09:04:07.189 xcodebuild[37667:18181451] 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: Provisioning profile “en.pro” doesn’t support the Push Notifications capability. (in target ‘RNVApp’ from project ‘RNVApp’) error: Provisioning profile “en.pro” doesn’t include the aps-environment entitlement. (in target ‘RNVApp’ from project ‘RNVApp’) at makeError (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235424/node_modules/execa/lib/error.js:60:11) at handlePromise (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235424/node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5) │ │ │ Project location: │ │ ./platformBuilds/standalone_ios/RNVApp.xcworkspace │

App ID 336554
Runtime Version: 4.5.7

@Kirill_Leventcov please help.
Capture

You have a missing “Provisioning profile” in your builder settings.

Thank you for your help Sir, although I have uploaded the provisioning profile in the build settings but I am checking again with this.

I don’t think the provisioning file is the issue. My build had a provisioning profile that was working up until yesterday where my builds started failing. Now they are stuck in queue for 3 hours plus. Another forum topic of the same issue here:

and here:

Same situation. The queue started to slow down last night and when it finally processed my build I got errors. Same thing this morning. Now my build has been running for 6 hours, no error or anything. Just in queue.

Hi
Same issue I am going through.

Hi @Kirill_Leventcov
Please see and help, thanks.
Now I got below error after a very long build time duration.

Runtime version: 4.5.7; AB version: 1.7.0 COMMAND: ASSETS_ARCHIVE_URL=https://appgyver-meap-assets.s3.amazonaws.com/moecjwb9fujtdl1jd2stcz953vi5?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%2F20220802%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220802T130506Z&X-Amz-Expires=172800&X-Amz-SignedHeaders=host&X-Amz-Signature=e3435368ad37bd9c9eb4465577fad6c3c490587a71ce57d5414b8406d5f74b44 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-438805"” FAILED with ERROR: │ [ error ] [package] COMMAND: node /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235695/node_modules/react-native/local-cli/cli.js bundle --platform ios --dev false --assets-dest platformBuilds/standalone_ios --entry-file index.js --bundle-output platformBuilds/standalone_ios/main.jsbundle --config=metro.config.js FAILED with ERROR: Failed to construct transformer: Error: Failed to start watch mode. at Timeout._onTimeout (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235695/node_modules/metro/node_modules/jest-haste-map/build/index.js:928:24) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) error Failed to start watch mode. Error: Failed to start watch mode. at Timeout._onTimeout (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235695/node_modules/metro/node_modules/jest-haste-map/build/index.js:928:24) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) info Run CLI with --verbose flag for more details. Command failed with exit code 1: node /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235695/node_modules/react-native/local-cli/cli.js bundle --platform ios --dev false --assets-dest platformBuilds/standalone_ios --entry-file index.js --bundle-output platformBuilds/standalone_ios/main.jsbundle --config=metro.config.js Failed to construct transformer: Error: Failed to start watch mode. at Timeout._onTimeout (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235695/node_modules/metro/node_modules/jest-haste-map/build/index.js:928:24) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) error Failed to start watch mode. Welcome to Metro! Fast - Scalable - Integrated Error: Failed to start watch mode. at Timeout._onTimeout (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235695/node_modules/metro/node_modules/jest-haste-map/build/index.js:928:24) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) info Run CLI with --verbose flag for more details. Failed to construct transformer: Error: Failed to start watch mode. at Timeout._onTimeout (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235695/node_modules/metro/node_modules/jest-haste-map/build/index.js:928:24) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) error Failed to start watch mode. Error: Command failed with exit code 1: node /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235695/node_modules/react-native/local-cli/cli.js bundle --platform ios --dev false --assets-dest platformBuilds/standalone_ios --entry-file index.js --bundle-output platformBuilds/standalone_ios/main.jsbundle --config=metro.config.js Failed to construct transformer: Error: Failed to start watch mode. at Timeout._onTimeout (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235695/node_modules/metro/node_modules/jest-haste-map/build/index.js:928:24) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) error Failed to start watch mode. Welcome to Metro! Fast - Scalable - Integrated Error: Failed to start watch mode. at Timeout._onTimeout (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235695/node_modules/metro/node_modules/jest-haste-map/build/index.js:928:24) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) info Run CLI with --verbose flag for more details. at makeError (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235695/node_modules/execa/lib/error.js:60:11) at handlePromise (/private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/438805-ios-235695/node_modules/execa/index.js:118:26) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) │ │ │ Project location: │

Hi,

The latest error looks like a timeout for one reason or another - unless it repeats I wouldn’t read too much into it.

As for the original error, buried a bit deeper in the log is this bit:

… error: Provisioning profile “en.pro” doesn’t support the Push Notifications capability. …

You need to take push notifications into account when creating the certificates and mobileprovision. If you’re not planning on using notifications, you should uninstall the related logic flows from your app, which should get rid of the error.

@Pekka_Aaltonen @Kirill_Leventcov @Harri_Sarsa

Hi All
I was trying to build an iOS of my App (Build 336554) which are resulting in failures (and I dont know exactly what the error is.
But, meanwhile, just to check this issue either coming from Appgyver’s build service OR from my end; I tried building another app (Build 429697) and surprisingly it was built (with the same signing certificate) after many attempts. Now to be more clear on recent build issues I tried again and it got failed despite the previous successful built with all the same resources as previous successful built. Please see below attached screenshot.

Please help me understand what is happening, please.
Thanks

I had to re-upload my certificate and provision profile to get it to work.

Hi

Let me try re-uploading both of these and check.

Hi @Pekka_Aaltonen

Now I got my iOS built, thanks for your help. Appreciated.