No, of course you don't. Here I have written really SIMPLE 3 steps tutorial how to do it
http://mlady-iphone.blogspot.com/2008/09/so-you-have-jailbraiked-iphone-and.html
Any problems contact me at martin(at)cefo(dot)cz
That'll only work for a jailbroken phone. If using SDK 2.1, you'll also need to edit /Developer/Platforms/iPhoneOS.platform/Info.plist and set PROVISIONING_PROFILE_ALLOWED and PROVISIONING_PROFILE_REQUIRED to NO.
Hi mlady,
Supposed I have an application which is working fine. I want to test it on real device or on simulator which is on a different machine then mine.
How can I do that? Can you guide me?
Pulkit
No, of course you don't. Here I have written really SIMPLE 3 steps tutorial how to do it
http://mlady-iphone.blogspot.com/2008/09/so-you-have-jailbraiked-iphone-and.html
if [ "${PLATFORM_NAME}" == "iphoneos" ]; then
platform=/Developer/Platforms/iPhoneOS.platform
allocate=${platform}/Developer/usr/bin/codesign_allocate
export CODESIGN_ALLOCATE=${allocate}
codesign -fs "iPhone developer" ${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}
fi
I tried the method suggested by you but still getting the following error:
CodeSign error: no certificate found in keychain for code signing identity 'iPhone Developer'
I wrote the following in the script editor (New Run Script Buildphase)
Code:if [ "${PLATFORM_NAME}" == "iphoneos" ]; then platform=/Developer/Platforms/iPhoneOS.platform allocate=${platform}/Developer/usr/bin/codesign_allocate export CODESIGN_ALLOCATE=${allocate} codesign -fs "iPhone developer" ${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME} fi
- Show environment variable in build log - marked as checked
- Run Script only when installing - marked as unchecked
Also, when I closed the script editor - it never asked me to save or run the script..?
I think I am missing some step in between!
Any help will be appreciated.
Hi, on that other machine you have to install SDK and copy over that app. Then if you want to test it on jailbreaked iPhone follow my guide and that should do it.
You mean first I do a build on my machine and then copy the .app file on that other machine, right?
Also for building the application I should set the project configuration to "release", right?
Actually the problem I facing is that I build the application setting the "Set Active Build Configuration" to "Release". But when I double on the application it just crashed. I want to open this application in the simulator so that I can test it.
What are the other steps involved in this building and transffering the application on other machine?
Please let me know if you know any guide that explain this building process to test on another machine or something similar.
Thanks,
Pulkit
NO actually you have to copy there whole project. Because then u cn simply test it thru Xcode. Otherwise if u copy there only .app you have to make an .ipa file from that and add it to ur jailbroken iPhone thru iTunes...
Why do you need to test it on different machine in first place??
Actually mLady the thing is. I am new to iPhone development earlier I use to develop Mac Applications. So, I created one iphone application which is working fine.
Now as we do in Mac we create binary using build process setting the configuration to "release" and few other things and send that binary to anybody who is using Mac and wants to run my application.
I did the samething here with my iPhone application. Now as soon as I click on the application Icon it crashes. I want that when I click on this icon it should open in simulator automatically.
Testing on any other machine is not important for me. I just want that my application should open in simulator automatically as soon as I click on the icon.
Thanks,
Pulkit
if I follow these steps, could I submit my app to the itunes store and it would work? I'm not about to do it but I'm curious![]()
That's because you don't have certificate called "iPhone developer". You must first make a certificate. In my blog is a link to apple website where you can learn how to make it. And don't forget to call it iPhone developer.
Yea, the script buildphase is ok, it never ask you for saving.
Good luck wiv it!
Ok I get it. But unfortunately that doesn't work like that. U can only test it on Simulator thru Xcode I believe.
If you are interested in distributing in a way as u do wiv Mac, u can only do on jailbreaked iPhones. You need to create .ipa file. Here is a link http://tungchingkai.blogspot.com/2008/09/how-do-you-create-ipa-file.html But before u do, u need to sign that app.
I got the certificate, what is the next. step..?
Where to put this certificate?