Can't get iOS app to build

Bitrise Build Issue Report template

Description of the issue

I’ve been trying to set up our iOS app with Bitrise now that our Android app is set up and running. We have been having trouble getting the provisioning to work even after trying to follow different tutorials and debug ourselves. The error we get now is:

" Error:

Unauthorized attempt

Stacktrace (for debugging):

/private/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/bitrise499340355/step_src/lib/autoprovision/auth_helper.rb:66:in `get_developer_portal_data’

/private/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/bitrise499340355/step_src/lib/autoprovision/auth_helper.rb:25:in `login’

/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/bitrise499340355/step_src/step.rb:25:in `<main>’"


Where did the issue happen?

On for our berkeley-mobile-ios app.

Which build Step causes the issue and which version of the step?



  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO (there’s nothing in our cache yet because we haven’t had a successful build)
  • Does the issue happen sporadically, or every time? : every time
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : since we started setting up our iOS app (although we were able to debug and resolve other issues to get to this point)

Local reproduction

Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what will get when it does a git clone in the clean environment! If possible please note which sections you tried.

I got stuck trying to follow the local debug guide.

Local reproduction: Linux / Android (docker based) stack builds

Can it be reproduced by running the build locally, after doing a new git clone of the repository into the /tmp directory and running the build from there with the Bitrise CLI ( )? If no, can it be reproduced with Docker (using the same docker images / environment we use on Related guide: .


Build log

Please copy paste the build’s URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - ), with a link to the related Discuss issue.

Hi @BerkeleyMobile!

Sorry about the issue and the inconvenience it may have caused, but currently we have an ongoing issue related to Open Source projects and the AutoProvision step.

Could you try code signing with the Certificate and Profile installer step for the while we are investigating this?

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