I do not have iPhone developer account. I want to test my app on my iPod Touch.
iPod iOS version : 5.1 (9B176 build) Xcode Development SDK : 5.1 Simulators : iPhone 5.1 Retina/normal iPad 5.1 Retina/Normal
To bypass code signing etc, I changed changed the project settings like below.
Code signing identity Don't code sign
Debug Don't code sign
Any iOS SDK Don't code sign
Release Don't code sign
Any iOS SDK Don't code sign
I connected my iPod-Touch to my MacBook Pro, selected iPod as my target (instead simulator), built the project and ran it. Then I am getting the error "No Code Signature found."
Any help?
Note: I did not create any app certificate etc. (I don't have app dev account)
You can also get this error if a build gets interrupted partway through. It corrupts Xcode's internal data (why are they saving corruptible data? I have no idea).
Shut down xcode, and restart, do a fresh build ... and it will usually go away.
It helps if you fully clean up build folder. The usual Project
> Clean
menu item is not thorough. Use the hidden alternative.
Hold down Option
key (⌥) while choosing Product
> Clean Build Folder…
The Option key transforms that menu item from "Clean" to "Clean Build Folder" and changes its behavior as discussed in this other question, XCode 4 “Clean” vs. “Clean Build Folder”.
You have to code sign if you want to run your app on an iDevice, unless it's jailbroken.
You have to have a development licence to code sign your apps.
If you don't want to buy a developer licence and you are a student, you can apply iOS Developer University Program which allows you to test your apps on actual devices but not to submit App Store.
https://developer.apple.com/programs/ios/university/
It is fine if you don't want to code sign it in the settings, but you MUST code sign it if you want to run it in a Device. That is of course unless you jailbreak your device... which is your only choice since you mention you do not have an app dev account.
Cleaning caches and Xcode DerivedData folder helped me to solve this issue. After cleaning product and product build folder exit Xcode and remove everything in
~/Library/Developer/Xcode/DerivedData
Then remove all files and folders related to Xcode in
~/Library/Caches
This error means that your code can not be signed ,so the project can't run in your device .I found this problem because I changed "other C flags" in Build Settings.Remove the item you added ,it runs!
I got this error in Xcode 8.2 because I didn't have enough space on my device. Thanks Xcode for the descriptive error...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With