The issue is caused by a missing signing file required by Xcode. E.g. Xcode 8+ if managed signing is enabled then even if you do a distribution type archive Xcode still requires a team dev profile too for an initial signing.
Solution: collecting all the required signing files can be really complex. Fortunately we have a tool for that! Just follow this guide https://devcenter.bitrise.io/ios/code-signing/#collect-the-required-files-with-codesigndoc to run our open source codesigndoc
tool on your Mac and upload ALL the files collected/exported by codesigndoc
to the app on bitrise.io. That’s all
Notes:
Please make sure that you have a Certificate and profile installer step in the workflow as described in the guide, as that’s the step which downloads and installs the signing files you upload to bitrise.io! Please also make sure that this step (Certificate and profile installer) is updated to the latest version!
The error is due to a missing development profile, which is still required even for production exports. codesigndoc
was designed to find the required base signing files on your Mac and export those automatically for you, so that you don’t have to manually collect and export those.
codesigndoc
does not change any of the files on your Mac, it does not delete any file etc., all it does is it copies/exports the files, leaving the original ones intact. Source code of codesigndoc
can be found at https://github.com/bitrise-tools/codesigndoc
If you have any questions just let us know!