Change Signing Certificate in Xcode 8 Beta 2

I have two certificates in my keychain that I use to sign code. One of them is my production certificate, which I use to sign applications for corporate distribution. The other is my development certificate (part of the same team), which I use to sign development applications.

In Xcode 8, I unchecked “Automatically manage my subscription, and now my certificate has been configured for a production certificate associated with my team, which now allows me to sign distribution applications. I can change the Provisioning Profile to one of them, but then I get a message "Provisioning Profile" Development Profile "error does not include the signing of a Production-Certificate. But Xcode 8 does not allow me to change my Certificate manually.

How can I change code signing identifiers in a single command in Xcode 8?

+4
source share
2 answers

, , . , / Xcode. , , . , , , !

+5

xcode8

  • - xcode, , .

  • : " " "", , xcode IDE. Debug Release, , . /. Offcourse " ".

. xcconfig, . , . xcconfig, .

PROVISIONING_PROFILE_SPECIFIER = TEAM ID/PROFILE NAME CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Distribution CODE_SIGN_IDENTITY[sdk=watchos*] = iPhone Distribution

0

Source: https://habr.com/ru/post/1648363/


All Articles