1

Xcode's organizer always says "Valid signing identity not found" for every device for the existing provisioning profiles or if I add new ones. I've tried deleting provisioning profiles and creating new ones using Apple's iOS developer site and downloading them. I've tried using "Add to Member Center" on the device page. I've tried adding and deleting certificates. I've tried restarting Xcode.

Luke Wenke
  • 1,113
  • 2
  • 22
  • 42

1 Answers1

3

After you created and downloaded your certificates, you have to select them for use in Build Settings

Add certificate

James Wong
  • 4,014
  • 4
  • 44
  • 61
  • Hi I have no xcodeproj file or project - I'm using "cordova run ios" in the Terminal to deploy the cordova app to my iPod. I just went back to my home computer and had the same errors (because I deleted my original provisioning profiles) then I went to the device then "Add to Member Center" and the provisioning profiles now both say "Valid Profile". But I want it to also work on my work computer. – Luke Wenke Aug 16 '14 at 06:54
  • You need to run `cordova build ios` first, afterwards Cordova will generate an xcodeproj file, from which you can build and preview your app on your device. – James Wong Aug 17 '14 at 12:12
  • Thanks I eventually got it to work though I couldn't find the "Code Signing" section. Now I have the following problem: http://stackoverflow.com/questions/25122380/how-to-stop-after-cordova-run-ios it seems like I have to exit the terminal and restart it again each time. – Luke Wenke Aug 18 '14 at 01:01
  • Can you type `npm info ios-deploy version` and tell me what do you see? If it's anything BELOW 1.0.9, then you need to follow @Loki's instructions http://stackoverflow.com/a/25156110/541591 – James Wong Aug 18 '14 at 02:07