Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code Signing Apple Watch

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?

like image 385
AfterCoder Avatar asked Aug 16 '16 09:08

AfterCoder


People also ask

How does Apple code signing work?

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.

What does code signing do?

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.

What is Apple code signing certificate?

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.

What is automatic code signing?

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.


1 Answers

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.

like image 182
Charlie Seligman Avatar answered Sep 27 '22 23:09

Charlie Seligman