Distributing an app

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
cwkalish
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 78
Joined: Thu Sep 30, 2010 2:24 am

Distributing an app

Post by cwkalish » Wed Jan 02, 2013 9:35 pm

Hi. This may be more of an Xc ode question but...
How can I distribute iOS standalones to "testers"? I've been loading apps on each device I want using Xcode's organizer. I understand it is possible to email someone an app (as long as they have the provisioning).
http://developer.apple.com/library/ios/ ... tions.html

I think I need to create a .ipa file (is that just a zipped archive of the .app renamed w/ .ipa extension?)

Thanks for any pointers.
-Chuck

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

Re: Distributing an app

Post by Simon » Wed Jan 02, 2013 10:47 pm

I've used this:
http://www.diawi.com/index.php
Just zip up the .app and post it and the .mobilprovision file.
Works great.

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

Randy Hengst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 157
Joined: Thu Jun 29, 2006 4:16 pm

Re: Distributing an app

Post by Randy Hengst » Wed Jan 02, 2013 10:56 pm

I use AirLaunch by HyperActive Software...

http://www.hyperactivesw.com/airlaunch/index.html

be well,
randy

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

Re: Distributing an app

Post by endernafi » Thu Jan 03, 2013 1:20 am

http://testflightapp.com/ is an alternative...

Best,

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

macOS Sierra • LiveCode 7 & xCode 8

pkocsis
Posts: 105
Joined: Sat Apr 15, 2006 7:20 am

Re: Distributing an app

Post by pkocsis » Thu Jan 09, 2014 1:55 pm

I'm trying to use testflightapp.com….

1) I've got the UDID's of the test phones identified in the certificate and built my app. Obviously, this creates a .app file
2) Now what? testflightapp wants a .ipa file (which, as far as I can tell, is a .zip (.zip renamed to .ipa) file containing the .app and a .mobilprovision file?

2A) am I correct in #2? What/where/how do I get/create the .mobilprovision file?

3) Is there an easier way (free) I can send my .app to one of my testers with instructions to them on how to get it installed on their iPhone? (I've been trying to get the .app on my own test iPhone with iTunes but can't seem how/where to drag/drop it. I want to test this so that I can tell my testers how to install the test app)

4) Is there some LiveCode documentation that I have missed on how to package up and send a test app to a user with instructions on how they get it on their iPhone?

Confused……TIA!!

EDIT: found this in another thread:

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 test flight

A) where do I drop it (whenever I drop it, it doesn't "drop" and just animates back to the finder from which I was dragging it from)
B) have things changed with iTunes so that I can't do the above anymore? (that post was in May of 2013)

Again, thanks for any help!

Nakia
Posts: 425
Joined: Tue Feb 21, 2012 8:57 am

Re: Distributing an app

Post by Nakia » Fri Jan 10, 2014 1:06 am

Hi,

I use MergTestApp together with Test Flight App and it couldn't be any easier..
Give it a shot, I think MergTestApp is well worth it alone!

http://mergext.com/plugins/mergtestapp/


Cheers

robl
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 62
Joined: Wed Dec 22, 2010 9:50 pm

Re: Distributing an app

Post by robl » Fri Jan 10, 2014 2:23 am

I agree with Nakia. mergTestApp is great for uploading builds to TestFlightApp.com and I use it as my primary distribution tool for LiveCode iOS projects. It automates the building of the IPA bundle/zip file and uploads it to the site, ready for your users to install. You can build an IPA yourself -- check http://forums.runrev.com/viewtopic.php?f=49&t=15091 .

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

Re: Distributing an app

Post by endernafi » Sun Jan 12, 2014 4:43 pm

pkocsis wrote: EDIT: found this in another thread:

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 test flight

A) where do I drop it (whenever I drop it, it doesn't "drop" and just animates back to the finder from which I was dragging it from)
B) have things changed with iTunes so that I can't do the above anymore? (that post was in May of 2013)
Yep, that was my post from months ago; but it still works.
I've uploaded a 20-second screencast to Vimeo:
https://vimeo.com/83995688
It's private to keep irrelevant eyes off;
password: runrev

It's a pretty straightforward process actually:
* Save your app as a standalone from Livecode's file menu.
* Drag-drop the .app into iTunes.
* Do whatever you need with the .ipa file.

But an image or sometimes a video is worth thousand words ;-)


I didn't use MergTestApp, but you should give it a chance.
Monte is really good at what he's doing.
Jacque's AirLaunch works fine, too.


Hope it helps,

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

macOS Sierra • LiveCode 7 & xCode 8

Gage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 224
Joined: Tue Mar 26, 2013 8:59 pm

Re: Distributing an app

Post by Gage » Thu May 29, 2014 6:29 pm

Hello!

I know this is an old thread, but it was relevant for me just now, so I wanted to reply with a question.

I just used the process Ender described to upload the file to Test Flight, and it worked great! Thank you!

However, I went to repeat the process for another .app file, and when I went to drag & drop it into iTunes, it told me that an existing app of the same name was already there, giving me options to Replace the existing app or Do Not Replace (Cancel). Wierdly, the two .app files are entirely different standalones created with entirely different stacks with different names and even different Provisioning Profiles.

I proceeded anyway, and when I got to the point where I was installing the second app on my iPhone test device from TestFlightApp.com, it also overwrote the app I had already installed on the device.

Anyone have any idea why these apps might be seen as identical?

Thanks!
Phil E.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Distributing an app

Post by jacque » Thu May 29, 2014 6:31 pm

The app ID determines how iOS identifies it. You probably used the same ID for both apps. Change one of them in standalone settings.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Gage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 224
Joined: Tue Mar 26, 2013 8:59 pm

Re: Distributing an app

Post by Gage » Thu May 29, 2014 6:56 pm

Jacque, thanks for your response! I used what I believe to be a wildcard App ID, (i.e. com.yourcompany.* ). I was under the impression that this would make it usable for multiple apps, rather than just one.

Can you tell me where my thinking is misguided so I can avoid this error?

Thanks again!

Phil E.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Distributing an app

Post by jacque » Thu May 29, 2014 7:02 pm

That works for certificates but each app needs its own. So change the asterisk to the name of the app, like:

com.company.app1
com.company.app2

When you update an app, iOS uses that as the identifier so it knows which app you're talking about. If they are all named "*" then it has no idea what to update.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Gage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 224
Joined: Tue Mar 26, 2013 8:59 pm

Re: Distributing an app

Post by Gage » Thu May 29, 2014 7:08 pm

Perfect, then I should be all set! Thank you!

Cheers,
Phil E.

Post Reply