May 21

So debugging why an Ad Hoc build is not working on your client’s device is not easy. As you already know there are ton of files that need to be just right for the process to be successful. On top of that if you are passing the Ad Hoc .app files back and forth using something like DropBox there other errors you can see like: The application “myApp” was not installed on the ipod “device name” because its resources have been modified.

I’m not going to go into everything here, I’m just going to tell you the steps I took, show you my settings and point you to some resources.

Check the obvious

You must be able to build your app to your device first.

Go to the  iPhone Provisioning Portal > Provisioning > Distribution Tab and make sure that all your UDID for your devices are in that Provisioning Profile. Download and install that .mobileprovision file by double clicking on it. . You will also give this .mobileprovision to your Ad Hoc testers.

Get the Ad Hoc Xcode Target Build Setting right

In Xcode double click on your target and check it against these screenshots. Since this is an AD Hoc build you want to make sure you select iPhone Distribution . You also want to make sure you have setup your Signing Entitlements properly ( Check the first link in the resources ) only for the Ad Hoc Configuration.

Target Info

Important: If you set the Entitlements entry for Ad Hoc configuration make sure it is unset for Debug and/or Release configurations. Otherwise you will see:

Error launching remote program: failed to get the task for process

After some trial and error I found using the Automatic Profile Selector (Recommended) -> iPhone Distribution under the Code Signing -> Code Signing Identity worked the best.

Code Signing

Testing your Ad Hoc Build

Building Xcode

If you are doing an Ad Hoc build don’t bother doing a ‘Build & Run’ from Xcode. Ad Hoc builds are meant to be sent to a tester so what you want to do is a ‘Build’ and go to you build dir inside of your Xcode project, take the .app file from inside the ‘Ad Hoc-iphoneos’ folder and follow the instruction from the link below: Apple - iPhone Development Guide - Publishing Applications for Testing – Instructions for Application Testers.


What to give to your client

Apple - iPhone Development Guide - Publishing Applications for Testing – Instructions for Application Testers:

Tagged with:
May 21

I was doing an iPhone Ad Hoc build for a client and we came up against this error. Client and I are using DropBox to send the Ad Hoc .app builds back and forth. Randomly we would see this error:

The application "myApp" was not installed on the ipod "device name" because its resources have been modified

Turns out that DropBox touches the files inside of the .app in some way. The fix is to zip or Archive your .app and then put it up on DropBox.



Tagged with:
May 13

Browse over to
and to see our iPhone wayfinding applications

Tagged with:
May 09

find . -name .svn -print0 | xargs -0 rm -rf

Tagged with: