Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lolec3d

macrumors newbie
Original poster
Nov 28, 2008
3
0
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

macrumors member
Sep 18, 2008
31
0
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

macrumors newbie
Original poster
Nov 28, 2008
3
0
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.
 

lolec3d

macrumors newbie
Original poster
Nov 28, 2008
3
0
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

macrumors newbie
Dec 16, 2008
1
0
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.