How to change code signing identity?
I go to File -> Project Settings -> Target, but not able to change code signing identity. I'm able to write using keyboard, but no list is provided like in Xcode. Whatever I write is discarded.
How should I change it?
Please sign in to leave a comment.
Please use Xcode (File | Open Project in Xcode) to change code signing.
I change the code signing identity in xCode but I still cannot get appcode to run the app on my device but it runs perfectly on xCode. I look at the settings and it continues to show "iPhone Developer" under the code signing identity. Any ideas?
Tom,
does the same app runs on a device in Xcode?
If yes, make sure AppCode use the same version of Xcode (AppCode | Preferences | Xcode).
If everything is correct, please desribe the problem with AppCode - what configuration is selected in the list, errors do you get, etc.
Yes, the it runs fine on xCode. I only have one version of xCode installed on my machine. Here is the situation:
failed installing application, reason: Error Domain=JBDeviceKitErrprDomain Code=-402620394 "AMDeviceSecureUpgradeApplication failed with err = -402620394(The executable was signed with invalid entitlements.)" UserInfo=0x610000261a40 {NSLocalizedDescription=AMDeviceSecureUpgradeApplication failed with err = -402620394(The executable was signed with invalid entitlements.)}. Reason: AMDeviceSecureUpgradeApplication failed with err = -402620394(The executable was signed with invalid entitlements.)
:
Any other questions?
Tom
Hi Tom,
could you please provide AppCode and Xcode versions and is your identity 'Bookshelf Dev Profile - Tom Welch' is in 'Identities in Keychain' group?
AppCode: 2.5.5 build #OC-131.842
XCode: 5.1 (5B130a)
I'm not sure what you mean by your last comment.
Tom, I meant 'Identities in Keychain' group in the context menu
Oh, got it. Yes, that is is found in the list. I have several others as I do work for multiple clients.
Tom, please follow the issue regarding displaying code signing identity http://youtrack.jetbrains.com/issue/OC-9536
But in my case the certificate picks up correct in spite of displaying. Is Traget B run with the same certificate as Target A? Do you run Release or Debug configuration?
May I ask you to attach build log files for successful run of Target A and failed run of Target B? Please find build log by clicking on 'Messages' button in Tool window -> 'Show Build Log' button
Hi Tom!
Did you solve the problem or still it reproduced?
Thank you for following up. The problem continues to happen. The situation is that I have an apple enterprise account and an app store account. I have targets of my app utilizing both identities but the problem was only happening on the app store identity. To work around the problem only compile for the app store identity in xcode.
Tom
Tom,
could you please check which parameter is set for Target B Configuration in AppCode: Debug or Release?
If Release is set, could you please try to run on device with Debug configuration?
Btw, did you try to run or debug on device?
Anyway could you please attach build log to your comment.
Thank you.