SAP Builders Discussions
Join the discussion -- ask questions and discuss how you and fellow SAP Builders are using SAP Build, SAP Build Apps, SAP Build Process Automation, and SAP Build Work Zone.
cancel
Showing results for 
Search instead for 
Did you mean: 

iOS Build Failing

srose99
Explorer
0 Kudos
514

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\""

  

11 REPLIES 11

Jaredn97
Explorer
0 Kudos
439

I am recieving the exact same error

0 Kudos
432

Could this have to do with the new runtime?
@Sankara1 
My previous build that was successful was runtime 4.11.163
The build that is failing is runtime: 4.11.167

0 Kudos
414

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.

0 Kudos
382

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\""

0 Kudos
271

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

Sankara1
Product and Topic Expert
Product and Topic Expert
0 Kudos
380

Hello, Thanks for the confirmation. 

0 Kudos
351

Thanks for coming to my aid. Any feedback on what I could be doing wrong?

Jaredn97
Explorer
0 Kudos
310

Hi @Sankara1, Any feedback you can guve me to help me solev my build ios problem?

Jaredn97
Explorer
0 Kudos
225

Any help please!

@Jakub_Roguski

@Sankara1 

Jakub_Roguski
Product and Topic Expert
Product and Topic Expert
0 Kudos
202

Unfortunately I have no experience with iOS build, so I can't help in this case.

Jaredn97
Explorer
0 Kudos
182

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.