PDA

View Full Version : CodeSinging problem in Xcode




lolec3d
Nov 28, 2008, 06:24 PM
Well, my app works great on the simulator, and despite the hours and hours spent in understanding how to send the app to my iphone, i cant get it to work. There are 2 problems:

When I try to build an app to Release-Device i get:
codeSign error: no certificate found in keychain for code signing identity 'iPhone Developer '

Ive created my certificate, used the script and modified info.plist.

Im stucked. But, i can build my app if i use Release-Simulator.
It creates a folder apparently similar to the one i would get using Release-Divice, it contains an .app, i send this .app to my iphone via ssh, it shows the default.png and then, go back to springboard. I think is because Release-Simulator is incomplete or something, maybe I can manually fix it.

ive bypassed the code signing check using :
sysctl -w security.mac.proc_enforce=0
sysctl -w security.mac.vnode_enforce=0

I was also wondering if there's a way to
Use Release-Simulator in Xcode. Fix the .app file so it works, and then create a .ipa, the reason i want to do this is im developing and app for personal use, but i would like some friends to use and test for bugs or whatever, They are not very involved in iPhone development but ive installed mobileinstallation patch on their iphones so they can use my ipas, of course, if i get it working.



mlady
Nov 30, 2008, 06:00 AM
Hi,

first of all have u got Mobile Installation patch on ur iPhone?

And also if u have a look into that .app directory you should see a directory called CodeSigning?

Got this?

lolec3d
Nov 30, 2008, 10:10 AM
I have Mobile Installation Patch, and it works.

The only way I can release an app from Xcode is Release to the simulator, i believe the core structure is different since its built for an X86 processor instead of an ARM.

So, i get this 3 folders in the build folder.
Development-iphonesimulator
AppName.build
Release-iphonesimulator

Inside the last one i find 2 files, AppName.app and AppName.app.dSYM

AppName.app contains nothing called CodeSigning

After reading a lot, seems that i have to fix the code signing and build for Release-Device.

Also, ive read that installing the latest version of Xcode will help, well, im on a hackintos and cant update further than 10.5.4 without risk of loosing data or something, and im currently on a project i cant postpone. jaja, i think im screwed and will have to wait a bit. If anyone know some tutorials on the code signing i might have missed, please post.

CodeSigning for building the app in Xcode, not to get into the divice. Thanks a lot.

mlady
Dec 1, 2008, 01:56 AM
Hi,

no it's fine you should be ok wiv older X-Code.

Have you read my instructions:

http://mlady-iphone.blogspot.com/2008/09/so-you-have-jailbraiked-iphone-and.html

YOu should be able to run it then.

lolec3d
Dec 4, 2008, 03:02 PM
I followed your instuctions, the problem was i named the certificate iPhone developer , when i used Developer with capital D, and deleted the old one, everything worked :)!!!! im creating ipas of my own software to send to the iPhone via iTunes. :)!!! tx alot. !

xitrum69
Dec 16, 2008, 03:06 AM
After reading a lot, seems that i have to fix the code signing and build for Release-Device.

Also, ive read that installing the latest version of Xcode will help, well, im on a hackintos and cant update further than 10.5.4 without risk of loosing data or something, and im currently on a project i cant postpone. jaja, i think im screwed and will have to wait a bit. If anyone know some tutorials on the code signing i might have missed, please post.

CodeSigning for building the app in Xcode, not to get into the divice. Thanks a lot.

Yes, When I try to build an app to Release-Device i get a same error
codeSign error: no certificate found in keychain for code signing identity 'iPhone Developer '

Please give me some tutorials

Thanks you so much

Trip.Tucker
Dec 16, 2008, 03:09 AM
You have singing code? What does it sing? :confused: