2024 Sep 04 11:59 AM
Hi, I was able to build an iOS project on Saturday but then later in the evening it's failing with 'Error Code 1'. I don't think I changed anything that would affect the build. I even tried to build a new project without changing the first page and only entering the iOS build configuration and that failed as well. Below is the error it's giving. Can anyone shed some light on this?
AB version: 2.12.0 COMMAND: npxrnv export -p ios -s standalone_adhoc -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @sapappgyver/orchestra-template-standalone@4.11.163 -r --xcodebuildArchiveArgs "OTHER_CODE_SIGN_FLAGS=\"--keychain\ AppGyver-77118\"" FAILED with ERROR: Command failed with exit code 1: npx rnv export -p ios -s standalone_adhoc -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @sapappgyver/orchestra-template-standalone@4.11.163 -r --xcodebuildArchiveArgs "OTHER_CODE_SIGN_FLAGS=\"--keychain\ AppGyver-77118\""
2024 Sep 06 10:27 AM
2024 Sep 06 10:43 AM
2024 Sep 06 11:38 AM
It's working now. I started over generating new server key, AppID, and provision on the apple developers site and to my surprise it worked. Not sure if that was actually the issue or a build problem but it's working now.
2024 Sep 06 12:33 PM
I generated a new p12 and provisional profile and still receive the same failed message:
AB version: 2.13.4 COMMAND: npxrnv export -p ios -s standalone_appstore -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @sapappgyver/orchestra-template-standalone@4.11.167 -r --xcodebuildArchiveArgs "OTHER_CODE_SIGN_FLAGS=\"--keychain\ AppGyver-123250\"" FAILED with ERROR: Command failed with exit code 1: npx rnv export -p ios -s standalone_appstore -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @sapappgyver/orchestra-template-standalone@4.11.167 -r --xcodebuildArchiveArgs "OTHER_CODE_SIGN_FLAGS=\"--keychain\ AppGyver-123250\""
2024 Sep 08 8:44 AM
When I had the same problem I did the following:
1. generate new server key .cer (I accidentally made an iOS distribution cert instead of the previous 'all platform' cert)
2. generate .p12 file
3. generate new appID
4. generate new provisioning profile
and it works now
2024 Sep 06 1:09 PM
2024 Sep 06 2:52 PM
Thanks for coming to my aid. Any feedback on what I could be doing wrong?
2024 Sep 07 12:53 PM
2024 Sep 09 3:05 PM
2024 Sep 10 8:47 AM
Unfortunately I have no experience with iOS build, so I can't help in this case.
2024 Sep 11 8:39 AM
Just an update.
Making a change to the bundle identifier fixed this issue. Not creating a new one, but just updating the bundle identifier and then creating a new provisional profile fixed the issue. Not sure how this would fixed the issue, but it did.