No identity or provisioning profile

I am a developer new to Xcode, and I have been following a course on a MOOC to improve my technique. At the moment, I am just playing around and learning the ropes. I am not planning to distribute anything anytime soon.


With that said, I was writing simple apps for the iOS and testing them out on the simulator included with Xcode. Suddenly, when I went to build and run the app, I was met with the follow error:


CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.4'


I have read a few posts via Google, but none have helped. Can anyone here shed any light?


Thanks,


Andrew


Answered by LCS in 35174022

Xcode will require a valid developer certificate for iOS development if the active scheme's destination is set to "iOS Device" (in the toolbar, where it shows your current target/scheme), so if it that's the problem you would just need to set it back to one of the simulators.


You can also change it via the Product > Destination submenu.

Accepted Answer

Xcode will require a valid developer certificate for iOS development if the active scheme's destination is set to "iOS Device" (in the toolbar, where it shows your current target/scheme), so if it that's the problem you would just need to set it back to one of the simulators.


You can also change it via the Product > Destination submenu.

LCS, thank you! That worked.🙂

No identity or provisioning profile
 
 
Q