Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS App testing: No Code signature found

Tags:

ios

testing

ipod

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)

like image 378
Chandu Avatar asked Aug 15 '12 15:08

Chandu


7 Answers

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.

like image 85
Adam Avatar answered Oct 03 '22 10:10

Adam


Fully Clean Your Project

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”.

like image 25
knagode Avatar answered Oct 03 '22 11:10

knagode


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/

like image 24
erkanyildiz Avatar answered Oct 03 '22 10:10

erkanyildiz


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.

like image 22
Oscar Gomez Avatar answered Oct 03 '22 12:10

Oscar Gomez


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
like image 26
takatan Avatar answered Oct 03 '22 11:10

takatan


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!

like image 30
Zhiyuan Avatar answered Oct 03 '22 12:10

Zhiyuan


I got this error in Xcode 8.2 because I didn't have enough space on my device. Thanks Xcode for the descriptive error...

like image 37
spogebob92 Avatar answered Oct 03 '22 10:10

spogebob92