Getting error during step xcode-archive: error: Signing for “dashboardwrapper” requires a development team. Select a development team in the project editor. (in target ‘dashboardwrapper’)
Arhh, thought there was something missing here! Is it deliberate that stuff from the .yml that are # commented out disappears ? I wasn’t able to find my comment today, so tried to recreated the workflow from my memories. Forgot one thing it seems
I see you want to export an app-store ipa, but you only have developer certificate and profile uploaded,
could you try a developer ipa first? also add your teamID in the xcode archive step to be sure, and also upload your deployment certificate and app-store profile
Added the teamID and switched to development export method. Same error still. What is this “deployment certificate and app-store profile” that you are mentioning? Could I ask you to point me to a guide that goes over the creation of these certificates?
Well. I am not sure. I used the react native cli to generate the project, which includes and ios dir, where the xcode project is. I don’t see any configuration files that have to do with code signing.
I generated all the certificates with the openssl bash tool (on windows) and uploade to bitrise, thinking that the code signing would be handled here, just as with the android code signing of the uploaded jks keystore.
Unfortunately not. Maybe this is only generated by Xcode, and the react native cli does not do this when running rect-native init. I noticed a info.plist file which contains something similar, but does not sound build/export related to me.
I will try and do some research whether there is a way to generate this configuration without using Xcode.
I initially followed this guide: How To Develop iOS Without a Mac which mentions bitrise as one way of building a iOS app without the use of a mac. But I also realize that apple are very quick to update their procedures to avoid people being able to do these kind of workarounds.
error: Signing for “dashboardwrapper” requires a development team. Select a development team in the project editor. (in target ‘dashboardwrapper’)
Was in the end solved by added the teamID to Xcode Archive & Export for iOS -> Force Build Setting -> Force code signing with Development Team
However I am still getting errors in this workflow module. Seems like build configuration should have been created but is not. So for now I am manually trying to fill in the missing pieces
First following issue, I was seeing: 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')
build log: Bitrise - Mobile Continuous Integration and Delivery - iOS & Android Build Automation
Not sure if it is trying to match provisioning profile based on Bundle ID but my uploaded provisioning profiles bundle id is com.dashboardwrapper
Then I decided to try and add the provisioning profile uuid to the field Force code signing with Provisioning Profile which then seemed to find the provisioning profile. But I have a gut feeling that this should not be needed. It should be found automatically as it states, automatic signing is turned on, and the provisioning profile looks correct to me. Anyway…
This revealed another issue: error: dashboardwrapper has conflicting provisioning settings. dashboardwrapper is automatically signed, but provisioning profile engineering has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual signing in the project editor. (in target 'dashboardwrapper')
I’ve googled a bit around, and it seems that most people fix this issue in ther “project editor” I assume this is a Xcode thing. I did find a project config file in my ios project dir called project.pbxproj this containes a lot of configuration fx. /* Begin PBXResourcesBuildPhase section */ & /* Begin PBXProject section */ Not sure if theese are the conflicting settings, or the conflict happens between my forced build settings (in excode-archive workflow module) and the outpput from the certificate-and-profile-installer.
I do have a feeling that I should not need to add neither teamID, provisioning profile UUID or anything else in the forced build settings. I would assume that the output of the Certificate and profile installer step would generate all the needed output for the xcode archive generator step. So, i’m still not at a working build configuration yet.
By removing the forced build settings, I am back to initial error: error: Signing for "dashboardwrapper" requires a development team. Select a development team in the project editor. (in target 'dashboardwrapper')