ios:build failing with manual certificate uploads

Expo is having issues re-using distribution and push service keys already generated on the developer account, so I have moved over to managing certificates and profiles myself. The only issue is that when building through the latest expo-cli, 2.18.7 I recieve the following error during the building and signing of the IPA package.

The certificate is successfully imported beforehand.

Build ID: 920541e1-77a8-4966-9001-8d9e25bb25af

building and signing IPA
TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
    at Function.Buffer.from (buffer.js:183:11)
    at Object.writeBase64ToBinaryFile (/usr/local/turtle-js/build/builders/utils/file.js:8:27)
    at buildAndSignIPA (/usr/local/turtle-js/build/builders/ios/archive.js:48:21)
    at Object.buildArchive [as default] (/usr/local/turtle-js/build/builders/ios/archive.js:28:15)
    at <anonymous>

Hi @383_busybees! Have you already tried clearing the stored credentials and building- with command expo build:android -c ?

This is for an ios build, I’m happy with the keystores expo generated for android.
I have run the build:ios -c twice, once providing overrides and the second time uploading manually without verification. It appears that the certificate is successfully imported into the keychain, and that this issue doesn’t occur until the building and signing of the .ipa and the build logs are too vague for me to understand what may be causing the issue.

Attempting to re-upload credentials this morning and trigger an iOS build has been successful. I can’t really say why this issue occurred on any of yesterdays build attempts but this issue can be closed for now. Loving working with expo by the way ;).

Cheers,

Chris

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.