iPhone ad hoc build using Xcode 4

eMich picture eMich · Mar 14, 2011 · Viewed 50.9k times · Source

I just switched to Xcode 4 and need to make an ad hoc build so my customer can test my app. Yet every tutorial I find is based on Xcode 3 and I can't seem to find my way with Xcode 4 on similar settings and actions I need to do. Is there a tutorial or anything out there that can help me on this? I googled it but with very poor results.

Answer

rckoenes picture rckoenes · Mar 14, 2011

Make sure you have selected a device from the drop down menu and not the simulator.

Then in XCode 4 go to product -> archive.

After the build is complete open the organizer and selected Archives.

Here you will find your build, from here you can then select share, next XCode will ask with which profile to sign the app.

Now you have created an IPA which you can send to your testers.