Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Has anyone succeeded with an Ad Hoc install through iTunes on Windows?
Started by henrik5 Feb 06 2017 06:28 AM

2 replies to this topic
ad hoc windows corona ipa app
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

henrik5

[GLOBAL: userInfoPane.html]
henrik5
  • Contributor

  • 192 posts
  • Corona SDK

The differences from doing it in iTunes on Mac is that 1) dragging files to iTunes changes the cursor so that it says "Link" while dragging and nothing happens, and that 2) I get an error message saying that it's not a valid app.

 

Now, building using the Ad Hoc profile results in an .app. There is a procedure described involving XCode where you open an archive and create an .ipa. Doing this allows it to be associated with iTunes in Windows, and double-clicking it is what showed the above error message.

 

Now, if I create an .ipa normally, I have to Show Package Contents, find the .app file, create a folder called Payload, put the .app there and zip it and rename it to .ipa.

 

But this .app file coming out from Corona looks different. There's no Products folder containing an .app, it just looks and acts like a straight zip archive of the development folder with all the files in it.

 

iTunes seems to have accepted the .mobileprovision, although no message appears verifying that. So I'm at the very last step where I install the app, everything up to this step checks out.

So. What's the trick? :)



[TOPIC: post.html]
#2

henrik5

[GLOBAL: userInfoPane.html]
henrik5
  • Contributor

  • 192 posts
  • Corona SDK

Answering myself, in the hope that it helps someone. 

The error message was correct. Doing the .ipa maneuver correctly on the same .app file led to the next stage - the app getting installed and then disappearing. The cause for this was that the customer had bought a new Iphone in the interim. Correct UDID and a new Ad Hoc profile made it stay installed.

All in all relatively simple to trouble-shoot, although some form of error message for the other operations would have felt professional. Well, being able to email a signed app to someone's phone and them opening it with the IOS installer would have been much better, of course.



[TOPIC: post.html]
#3

henrik5

[GLOBAL: userInfoPane.html]
henrik5
  • Contributor

  • 192 posts
  • Corona SDK

Adding the steps as I remember them:

1. Log in with Apple ID in iTunes

2. Authorize, same ID

3. Make sure device ID is in the Ad Hoc profile

4. Ad Hoc profile -> Right-Click -> Open With -> iTunes

5. .ipa  -> Right-Click -> Open With -> iTunes

6. Sync




[topic_controls]
[/topic_controls]



Also tagged with one or more of these keywords: ad hoc, windows, corona, ipa, app