Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Ad Hoc Distribution to a windows machine?

Has anyone been able to use Ad Hoc Distribution from a windows machine to put an app on an iPhone or iPod touch?

I zipped up the .app and .mobileprovision files on the mac but when i bring them over to a windows machine, the .app shows up like it really is as a folder.

And I could not get iTunes to recognize the .app folder or the .mobileprovision file at all.
All the downloaded apps from iTunes come as .ipa files. Does anyone know if there are extra steps needed to do Ad Hoc Distribution on a windows machine?

Thanks.

mbp, Mac OS X (10.5.3)

Posted on Jul 18, 2008 8:06 AM

Reply
17 replies

Jul 21, 2008 8:44 AM in response to krisby

For anyone else future, on a windows machine what i did was open up iTunes. Do a File -> Import and then select the .mobileprovision file. You can then go o the applications screen, and drag and drop the .app folder onto iTunes and sync the app.
With the recent fixes found in this thread: http://discussions.apple.com/thread.jspa?threadID=1597879, everything is working correctly now.

Oct 16, 2008 8:55 AM in response to krisby

I managed to build an iPhone distribution app and sent it to a few beta testers. Those with Mac machines managed to install it just fine.

Everyone with a windows machine encountered the same problem. When dragging the app folder into iTunes application tab, nothing happens. The mobileprovision installs fine, but dragging the app folder doesn't do anything. No processing happens and no app shows up.

Has anyone encountered this problem where the ad-hoc distribution app works fine on OSX but not on Windows? Did I miss an important step that affects only windows?

Thanks.

Oct 17, 2008 3:08 PM in response to Bruce Geerdes

Here's what I do from the command line:
cp myicon.512x512.jpg iTunesArtwork
mkdir Payload
cp -rp myapp.app Payload/
zip -r myapp.zip iTunesArtwork Payload
mv myapp.zip myapp.ipa

Then I email the .ipa file and provision file to windows users.

Another possibility is to drop your .app bundle onto iTunes on a Mac. Then find the .ipa that iTunes creates in its Mobile Applications directory, and email that.

.

Jan 11, 2009 7:05 AM in response to krisby

Help! I've tried all the steps in this thread and am still unable to distribute to a phone using iTunes on Windows.

In summary, I've created and built an app on my Mac Mini and deployed it to my phone using an ad-hoc provision generated by the developer portal. Taking the same app-bundle and mobile provisioning file to a windows computer and attempting to deploy it to another phone, produces this error:

"Could not be installed because it could not be verified"

I'm trying to figure out why this is failing, surely one of the many steps I've taken is not quite right.

Here are the details:

I created device ids for two phones we’d like to test.
I am using iTunes on a mac.
Then, using the developer portal, I created an ad-hoc provisioning profile for an appID I created earlier.
Then, using XCode, I configured the signing of my app to use the provisioning profile just created.
Then, using iTunes on my mac, I dragged the app bundle and provisioning profile to the applications panel.
Then I clicked sync – it succeeded and the app works on my phone.

Looking in the settings on my phone, I see a profile for the ad-hoc provision.

I emailed the app and the provisioning profile to my brother to install on the other phone.
Using iTunes on windows, he dagged the app (directory) and provisioning profile to the applications panel.
He clicked sync – it failed – "Could not be installed because it could not be verified"

Looking in the settings on my brother’s phone, we see no profile for the ad-hoc provision.

Jan 28, 2009 12:09 PM in response to Mat H

This is one of the real nasty gotchas in the iPhone dev process. The zip that the Mac uses, the iTunes installer on a PC doesn't like. And VV. I wonder if iTunes is getting confused as to where the certificate is located in the file when going across machines. So it cannot find the cert in a file zipped on the other guys box and gives that nitwit "Unable to verify..." error.

So you need to build two zip files for your testers. One on the Mac for the Mac guys, and another built on Windows for the PC gang. Using iTunes on a PC to create the .ipa is effectively doing the same thing since I assume it uses the same windows compression libraries.

May 29, 2009 9:33 AM in response to billyork67

Hi,

did you find out what was the problem?
I am currently having the same trouble you had, billyork67 😟

Developping on Mac OS 1.5.7,
Tested AdHoc distribution on my iPhone (working), then on a friend iPhone (registered in my devices list), with a correct provision file, and iTunes said it couldn't verify the application.

I don't know what to do!

Ad Hoc Distribution to a windows machine?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.