Code signing error after import from Xcode Follow
I'm a complete noobie to Objective C / iOS / XCode and Appcode. I imported an XCode project (which compiles and runs in XCode 5.0.2) into Appcode (2.5.4) but I get the following errors: -
Code Sign error: No code signing identites found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “*TEAMID*” were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.0'
Any idea what could be causing this? Where do I start looking?
Thanks for your help
All the best,
Please sign in to leave a comment.
Could you please attach build logs from AppCode (Message tool window, Show build log button) and from Xcode?
Attached - I blanked the team id in the log (i.e. it isn't xxxxx) I don't know if it's a security problem to post it online or not.
Thanks for your help!
Thanks, could you please also attach a log from Xcode, so I can check for differences between the two of them?
I'm not exactly sure if this is the correct log but: -
Thanks again for having a look!
It looks like in AppCode you are building for a device and in Xcode for a simulator. Simulator does not perform code signing, so you don't get an error there.
If all you want to do is to run the app in a simulator, then in the toolbar change the selection from "iOS Device" to a desired simulator. To be able to sign the app you need to make sure that you have correct provisioning profile and certificate installed and check your codesign build settings.
Aha, I didn't realise the others were meant to be simulators (having simulator in the name would help :) )
I knew it would be something silly. Thanks for the help, much appreciated!
All the best,