I wrote an apple watch app for my iOS app. Watch, Watch Extension and iOS app have different bundleID. I wanted to send my app to testers via fabric however I could not archive my app because of code signing issues. I could not solve the problem.
***Watch has conflicting provisioning settings. ***Watch is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been manually specified. Set the code signing identity value to "iPhone Developer" in the build settings editor, or switch to manual signing in the project editor.
Code signing is required for product type 'WatchKit App' in SDK 'watchOS 3.0'
Are there any documents that clearly explains how the code signing works? How should I solve signing problem?
Code signing your app assures users that it's from a known source and hasn't been modified since it was last signed. Before your app can integrate app services, be installed on a device, or be submitted to the App Store, it must be signed with a certificate issued by Apple.
Code signing does two things: it confirms who the author of the software is and proves that the code has not been altered or tampered with after it was signed. Both are extremely important for building trust from customers and safely distributing your software.
This certificate allows developers to sign apps and submit them to the App Store for distribution. As a result, all apps in the App Store have been submitted by an identifiable person or organisation, serving as a deterrent to the creation of malicious apps.
Automatic code signing means automatically managing the provisioning profiles that are available on your Apple Developer Portal account. If you set up some form of authentication to your Apple account, Bitrise can download and install the provisioning profile for your app during the build process.
To fix this I went into each of the failing targets and selected the 'General' tab, then untick and reticked 'Automatically manage signing'.
I then reselected the correct Team and everything worked. Hope this helps someone else.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With