Creating ipa for ad hoc distribution

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bertBUSIbr8
Posts: 38
Joined: Thu Jun 28, 2012 2:48 pm
Location: West-Cork, Ireland
Contact:

Creating ipa for ad hoc distribution

Post by bertBUSIbr8 » Thu May 09, 2013 12:11 pm

Hi,


New to the forums and LiveCode, and after the trial version of the commercial edition, have now started properly with the Community version.

What I'm trying at the moment is re-building a few projects I have made for clients before as CD-ROM [with Director], so I can show them what can be done and once I get the ball rolling switch to the commercial version.
At the moment I've got an app working great on the iPad, but have to get that onto my clients iPad in an easy way for testing. I have set up provisioning profiles, their iPad is in the list of devices, so I'm all good there.

My main question is, how do you go from the .app file LiveCode generates to an .ipa file I can use with Testflight for example so I have an easy way of getting ot to my client?


Many thanks,



Bert

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: Creating ipa for ad hoc distribution

Post by Simon » Thu May 09, 2013 1:38 pm

Hi Bert,
Welcome to the forum!

I use this:
http://www.diawi.com/index.php
Just need to zip up the app and include your profile.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Location: New York
Contact:

Re: Creating ipa for ad hoc distribution

Post by endernafi » Thu May 09, 2013 2:26 pm

Hi Bert,

Simon's solution is a good alternative.
And there's a native LiveCode solution, too,
Jacqueline's AirLaunch: http://www.hyperactivesw.com/airlaunch/index.html

But if you want to use testflight, then here is the recipe:
* Open iTunes
* Navigate to apps in iTunes
* Drag-drop your .app file into iTunes
* Right-click on your app in iTunes
* Click Show in Finder
Voila, there's your .ipa file ready to upload to testflight 8)

Best,

~ Ender Nafi
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

bertBUSIbr8
Posts: 38
Joined: Thu Jun 28, 2012 2:48 pm
Location: West-Cork, Ireland
Contact:

Re: Creating ipa for ad hoc distribution

Post by bertBUSIbr8 » Wed May 15, 2013 12:15 pm

Hi,


Sorry for not replying earlier, but thanks for your help, works great!



Bert

icemanmelb
Posts: 1
Joined: Mon Sep 10, 2018 9:15 am

Re: Creating ipa for ad hoc distribution

Post by icemanmelb » Mon Sep 10, 2018 9:22 am

Simon wrote:
Thu May 09, 2013 1:38 pm
I use this:

Just need to zip up the app and include your profile.

Hi All,
Im also a newbie. I've just created my first noob app and would like to try it on my iphone running ios 11.3.1.
My mac is running on mac os x 10.12.6 & XCode 9.2, Live Code 9 Community Edition.

I'm just trying to figure out what what profile I need to add to my app.

regards

Paul

avasthisamar
Posts: 1
Joined: Tue Apr 02, 2019 7:24 am
Contact:

Re: Creating ipa for ad hoc distribution

Post by avasthisamar » Tue Apr 02, 2019 7:27 am

To use ad hoc distribution, create an archive of your app, or have a teammate send you an iOS App Store Package ( .ipa ) of the archived app. You distribute your app by providing the .ipa file for users to install on their devices.

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am
Location: London, UK

Re: Creating ipa for ad hoc distribution

Post by marksmithhfx » Wed Mar 10, 2021 3:21 pm

avasthisamar wrote:
Tue Apr 02, 2019 7:27 am
To use ad hoc distribution, create an archive of your app, or have a teammate send you an iOS App Store Package ( .ipa ) of the archived app. You distribute your app by providing the .ipa file for users to install on their devices.
My understanding of an .ipa

1. Rename the folder your standalone application is in to "payload"
2. Compress the payload folder (create payload.zip)
3. Change the extension of the compressed folder from .zip to .ipa

Once you have created the payload.ipa file, does anyone know what your options for ad hoc distribution are?

thanks
Mark
Last edited by marksmithhfx on Wed Mar 10, 2021 5:38 pm, edited 1 time in total.
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am
Location: London, UK

Re: Creating ipa for ad hoc distribution

Post by marksmithhfx » Wed Mar 10, 2021 5:35 pm

marksmithhfx wrote:
Wed Mar 10, 2021 3:21 pm
Once you have created the payload.ipa file, does anyone know what your options for ad hoc distribution?
Well, a little more digging around and I've answered my own question.

1. you don't need an .ipa file for the following to work. Any standard LC standalone works just fine (ps tested on iOS only).

2. You will also need:
a) An Apple Distribution Certificate
b) A Unique App ID (I think wildcards may not work, but didn't test that)
c) The device ID's you'll be distributing too (UDID's)
d) and then all of the above bundled together into an Ad hoc Distribution Profile

3. In the StandAlone application settings select your unique App ID and Ad Hoc distribution profile. Build your standalone.

Anyone who is listed in your Ad hoc profile can now install the app quite easily using Apple Configurator 2 (from the App Store).

Run configurator 2.
Select your cabled device
Click the "Add" button, select "Apps, and then "From my Mac".
Select your LC Standalone and watch it being installed.

One possible scenario is you email your application to someone (I suggest compressed, they shrink down about 1/2), the user unzips and installs.

Cheers,
Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: Creating ipa for ad hoc distribution

Post by Mikey » Thu Mar 11, 2021 2:09 pm

or you could use airLaunch, if you were opposed to having it be difficult or more complicated or time-consuming.

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am
Location: London, UK

Re: Creating ipa for ad hoc distribution

Post by marksmithhfx » Thu Mar 18, 2021 9:33 pm

Mikey wrote:
Thu Mar 11, 2021 2:09 pm
or you could use airLaunch, if you were opposed to having it be difficult or more complicated or time-consuming.
Thanks, looking into it.

Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: Creating ipa for ad hoc distribution

Post by Mikey » Thu Mar 18, 2021 9:37 pm

wow, i totally forgot the url for airlaunch
https://www.hyperactivesw.com/airlaunch/index.html

Post Reply

Return to “iOS Deployment”