![]() |
||
xcode iphone sdk and toolchain 2.0
|
||
![]() |
|
|
Thread Tools | Search this Thread |
|
#1
|
||||
|
||||
|
Ok, so i just got an iphone recently, and i started to code for it yesterday, i already know c++ so switching to obj-c shouldn't be that hard. I got the free iphone SDK from apple and installed it on my virtual mac os x 10.5.5 . So i just finished my first HelloWorld app, and i was trying to compile it. I found out that i can only compile it for simulator. As i'm not really eager to give an extra 99$ to apple, i was wondering how can i compile the code i made in xcode with toolchain 2.0 (i got the one from cydia on my iphone), or should i get the toolchain bynaries for cygwin? I tryed just sshing in my iphone and copying my project on it, and running make and make install from mobile terminal in the folder where the code is, but it seams that i'm missing makefile. Could some1 tell me how can i make one?
Thanks in advance Miso ------------------double post merged------------------well here is just a quick update, i managed to bypass the certificate check in xcode by using a flase certificate. So i tried compiling my app and i managed to install it on iphone trough build and go in xcode but have been getting an error that the debugger can't start the app remotely because of security policy error. After some googling i have found that i have to force provisioning off and that i have to change some key in info.plist in my app so that i wouldn't get discarded by the springboard (which didn't wanted to accept the fake cert (the app installed coz i had a patched installer)). Now after fixing the info.plist, the app didn't want to install anymore, coz xcode didn't detect my iphone anymore :P. Any help is appreciated. If anything i did earlier is wrong, please warn me so i can fix it. Thanks in advance Miso
__________________
Last edited by mzmiric5; 10-10-2008 at 09:43 AM.. Reason: Automerged Doublepost |
|
#3
|
|||||||
|
|||||||
|
Quote:
|
|
Sponsored Links
|
|
|
|
#4
|
|||||||
|
|||||||
|
where did he say he was building for 2.1. If he installed toolchain from cydia, it's pretty safe to say he's on 2.0 still, like myself, in which case i'm not wrong
|
|
#5
|
|||||||
|
|||||||
|
if he is making apps for ipod or iphone 2._ softwares AT ALL, he should be building them to work with the newest firmwares, as most people are using that anyways(and all the smart ones). the cydia toolchain takes a crapload of modding to handle sdk headers(in most cases), and SO SLOW. it takes -1 hour to build the toolchain, take the time and do it right
|
|
#6
|
||||
|
||||
|
yeah, sorry i forgot to mention that i'm using 2.1, i'll try your tool gojohnnyboi
edit: without the fake certificate and the provisioning patch, xcode doesn't want to build at all. Last edited by mzmiric5; 10-11-2008 at 01:53 AM.. |
|
#7
|
|||||||
|
|||||||
|
do this: open your project, open up the info and settings of your proejct. where it says code signing identity, erase "iPhone Developer". now build
|
|
#8
|
||||
|
||||
|
Thanks, it worked, used ldid to sign and respringed with boos tools, everything is working now. of to make my first real iphone app.
|
![]() |
| Thread Tools | Search this Thread |
|
|