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

Question:

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

Reply

Page content loaded

Jul 18, 2008 11:19 AM in response to krisby In response to krisby

You just drag the folder onto iTunes, and it will recognize it as an app bundle and attempt to create an ipa (which is just a zip file under a different name).

However, the 'Ad Hoc distribution doesn't work' thread errors come up for me on Windows, as well. So... 😟

Jul 18, 2008 11:19 AM

Reply Helpful

Jul 18, 2008 1:18 PM in response to jthurman In response to jthurman

Thanks RainPacket and jthurman, got it to work just enough for it to fail like everyone else.

Can't wait for Apple to finish their Ad Hoc implementation otherwise I am just going to start pushing out multiple free beta versions of my app for other people to test :-p.

Jul 18, 2008 1:18 PM

Reply Helpful

Jul 21, 2008 8:44 AM in response to krisby 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.

Jul 21, 2008 8:44 AM

Reply Helpful

Oct 16, 2008 8:55 AM in response to krisby 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 16, 2008 8:55 AM

Reply Helpful

Oct 17, 2008 3:08 PM in response to Bruce Geerdes 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.

.

Oct 17, 2008 3:08 PM

Reply Helpful

Jan 11, 2009 7:05 AM in response to krisby 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 11, 2009 7:05 AM

Reply Helpful

Jan 28, 2009 12:09 PM in response to Mat H 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.

Jan 28, 2009 12:09 PM

Reply Helpful

May 29, 2009 9:33 AM in response to billyork67 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!

May 29, 2009 9:33 AM

Reply Helpful
User profile for user: krisby

Question: Ad Hoc Distribution to a windows machine?