views:

41036

answers:

9

How can I deploy an iPhone Application from Xcode to real iPhone device without having an Apple 99$ Certificate?

+5  A: 

You'll have to jailbreak your device.

Can Berk Güder
and then what...
philfreo
Follow @rpetrich's method and SSH the executable into the device's /Applications folder, it should work after a reboot/respring.
esqew
+5  A: 

You can't, not if you are talking about applications built with the official SDK and deploying straight from xcode.

micmcg
+2  A: 

See this answer to a question I asked earlier for a very good guide on how to put it on your jailbroken iPhone.

Dan Walker
+5  A: 

It sounds like the application isn't signed. Download ldid from Cydia and then use it like so: ldid -S /Applications/AccelerometerGraph.app/AccelerometerGraph

Also be sure that the binary is marked as executable: chmod +x /Applications/AccelerometerGraph.app/AccelerometerGraph

rpetrich
very smart - using Cydia.
sugar
Yes, you'll need to jailbreak your device for this method to work. (obviously)
esqew
+1  A: 

No, its easy to do this. In Xcode, set the Active Configuration to Release. Change the device from Simulator to Device - whatever SDK. If you want to directly export to your iPhone, connect it to your computer. Press Build and Go. If your iPhone is not connected to your computer, a message will come up saying that your iPhone is not connected.

If this applies to you: (iPhone was not connected)

Go to your projects folder and then to the build folder inside. Go to the Release-iphoneos folder and take the app inside, drag and drop on iTunes icon. When you sync your iTouch device, it will copy it to your device. It will also show up in iTunes as a application for the iPhone.

Hope this helps!

P.S.: If it says something about a certificate not being valid, just click on the project in Xcode, the little project icon in the file stack to the left, and press Apple+I, or do Get Info from the menu bar. Click on Build at the top. Under Code Signing, change Code Signing Identity - Any iPhone OS Device to be Don't Sign.

The OP does not have a signing certificate or provisioning profile. These instructions are for members if the $99 iPhone Developer Program but don't address the question of how to run on the device without signing up for the program.
cdespinosa
A: 

There is no workaround. You can only ad hoc deploy apps if they are registered with your device. This prevents you from building your own app store..

A: 

This really all depends on what version of Xcode you are using as different versions use different methods to deploy to your iPhone without a provisioning profile.

Xcode 3.2.1 is a good version and is easy to sort out, but we need to know what version you are using.

Magnatek
+2  A: 

Nothing I've seen anywhere indicates you can ad-hoc deploy to a real iPhone without a (paid for) certificate.

Matthew Phillips
+1  A: 

There is a way to deploy iPhone apps without paying to apple You'll have to jailbreak your device and follow the instructions in http://www.alexwhittemore.com/?p=398

Leo