Finally got a bit further! Conclusion is that the react-native cli doesn’t generate a sufficient project.pbxproj file, which means that one must load the project in latest version of Xcode installed on a mac. Xcode will then resolve the project.pbxproj file and save it in a working condition. This could perhaps some how be handled in a bitrise workflow module? Completely eliminating the need to own a physical mac I installed Mojave on virtualBox on my windows, and did the fix there…
I also did a side by side comparison of the old and the new configuration file, there is too much going on for me to understand it, and for that reason i don’t think it can be configured manually (at least not by most people)…
Anyway… My Xcode archive step is still not succeeding
error: No profiles for ‘com.dashboardwrapper’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching ‘com.dashboardwrapper’. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target ‘dashboardwrapper’)
I am not sure why it can’t find the matching provisioning profile. com.dashboardwrapper is my app id and inside my provisioning profile this app id is the same, except that the team id is dot concatenated in the start of the app id.
So my quetsion is maybe, why is the xcode archive step looking for a proffile matching com.dashboardwrapper and not D97F7P64UX.com.dashboardwrapper - or is that actually expected behavior?
Hy, yes, the bundle id is usually named in this manner, and it (as far as I know) never holds the team id
aslo your bundle id in the installed profile is com.dashboardwrapper as well.
could you just remove D97F7P64UX. from the plist file?
The text from above is from within the provisioning file “engieneering.mobileprovision” the one download from the apple developer console. My info.plist doesn’t contain any ids it seems
Oh, you are right sorry, think something went wrong:
Sorry, we are not sure if enabling the support user was successful (it might take some time.) Please refresh the page and check the state of the toggle.
Done, that certainly looks different in the build process, it did find the profile, but now the setting are conflicting because there is both auto turned on and a specified provisioning profile. What should i remove from the workflow now ?
what I think, is that you are using xcode managed signing locally, and I would try to build with the ios auto provisioning step, but that needs the apple account connected
ps I have a good feeling now, it did not crash at the same stage now
no no, just the certificate and profile installer, that will get the profile/generate an appropriate one for the project, from the developer portal so it is sure to be good. also you will need to upload a deployment certificate to the code signing tab to be able to generate an app-store ipa in the future!
ps: I see you are on a free plan and the ten minutes will not be enough to build
I recommend doing a few referrals so you get some extra build time
Sounds good, if you do that, I am sure you will be able to build successfully now, get back to me please when you upgraded the plan and we can check it out to be sure
Thanks for your great support! Worked like a charm. Auto provision is waaaaay less complicated than the manual procedure. Should have known this earlier