IOS Deployment

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
EddieLee
Posts: 118
Joined: Thu Oct 25, 2018 1:06 pm

IOS Deployment

Post by EddieLee » Mon Mar 01, 2021 9:27 am

Hi all,

Is there any way to test the app on a physical device without having to sign up for a apple developer license? Is there an option to sign for development only or only a simulator can be used to test if i dont have a apple developer license?

Thanks!
Eddie :D

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: IOS Deployment

Post by jmburnod » Mon Mar 01, 2021 6:25 pm

Hi Eddie,
As far i know you absolutely need an Apple licence to test an iOS app.
Best regards
Jean-Marc
https://alternatic.ch

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7214
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: IOS Deployment

Post by jacque » Mon Mar 01, 2021 7:31 pm

You need a developer account but there's a way to get one free for testing purposes. Google "free Apple developer account" for information.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

EddieLee
Posts: 118
Joined: Thu Oct 25, 2018 1:06 pm

Re: IOS Deployment

Post by EddieLee » Tue Mar 02, 2021 12:26 am

jacque wrote:
Mon Mar 01, 2021 7:31 pm
You need a developer account but there's a way to get one free for testing purposes. Google "free Apple developer account" for information.
Hi Jacque,

Do you mean by creating an Apple ID and signing up for a Apple developer account? But not paying the 99USD for the subscription I just won’t get to distribute my apps but I’m fine with it, I just want to deploy it to a physical device for testing.

https://developer.apple.com/support/com ... mberships/

Thanks!
Eddie :D

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7214
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: IOS Deployment

Post by jacque » Tue Mar 02, 2021 1:04 am

Yes, that's right. I also found this: https://developer.apple.com/support/account/ but it doesn't give much information.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

EddieLee
Posts: 118
Joined: Thu Oct 25, 2018 1:06 pm

Re: IOS Deployment

Post by EddieLee » Tue Mar 02, 2021 2:54 am

jacque wrote:
Tue Mar 02, 2021 1:04 am
Yes, that's right. I also found this: https://developer.apple.com/support/account/ but it doesn't give much information.
Hi Jacque,

I have created a AppleID and sign up for a developer account, how do I go about it testing my lc project on my iPhone physical device? Can I use the test button or I have to use another way?

Thanks!
Eddie :D

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7214
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: IOS Deployment

Post by jacque » Tue Mar 02, 2021 10:56 pm

EddieLee wrote:
Tue Mar 02, 2021 2:54 am
I have created a AppleID and sign up for a developer account, how do I go about it testing my lc project on my iPhone physical device? Can I use the test button or I have to use another way?
I haven't tried it in a long time, but you can see if the Test button works. You need to cable the phone to the computer.

If that doesn't work, there's a process you need to go through in the developer portal. Here is a list of various iOS tasks:
https://lessons.livecode.com/m/4069/c/16397
In particular, read: How do I Create a Development Profile for iOS?

Once you have the profile, add it to Standalone Settings. If you want to distribute it to others for testing, you will need to do more things.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

bwmilby
Posts: 438
Joined: Wed Jun 07, 2017 5:37 am
Location: Henrico, VA
Contact:

Re: IOS Deployment

Post by bwmilby » Sat Mar 06, 2021 9:03 pm

You can also use XCode to manage test certificates if not a paid Dev. You will need to create a project in XCode and set a few options (match the info used in LC) and let it manage the certificate. You need to renew it every week, but it is good enough to test on device. You will also need to select the actual device in the XCode project so it will be included in the certificate.
Brian Milby

Script Tracker https://github.com/bwmilby/scriptTracker

EddieLee
Posts: 118
Joined: Thu Oct 25, 2018 1:06 pm

Re: IOS Deployment

Post by EddieLee » Sat Mar 06, 2021 9:31 pm

bwmilby wrote:
Sat Mar 06, 2021 9:03 pm
You can also use XCode to manage test certificates if not a paid Dev. You will need to create a project in XCode and set a few options (match the info used in LC) and let it manage the certificate. You need to renew it every week, but it is good enough to test on device. You will also need to select the actual device in the XCode project so it will be included in the certificate.
Hi Brian,

Could you explain in depth? Can it be used to test on a LC project? If it’s possible I would really want to try it!

Thanks!
Eddie :D

bwmilby
Posts: 438
Joined: Wed Jun 07, 2017 5:37 am
Location: Henrico, VA
Contact:

Re: IOS Deployment

Post by bwmilby » Sat Mar 06, 2021 11:30 pm

Here are a couple of screen shots to help.

First, create a new project in Xcode and save it somewhere convenient. You are only using this to have it generate the signing certificate that LC will use. Once the project is created, the tab to concentrate on is the "Signing" one.
Xcode.png
With your phone connected (and probably unlocked/authorized for Xcode), you will need to select it in the top of the project window (where it currently has iPhone SE). Leave the automatically manage option selected. Team should just be your name (if not there, you will need to add it and use the free dev account that you created). The bundle identifier will match the internal app id in LC. You set it in Xcode and when you select the profile in LC it will prompt you and change it if they don't match.
LC1.png
In LC, you need to specify the app ID and select the profile from the drop down menu. You may need to restart LC after you update the cert in Xcode for it to show up in the menu.
Brian Milby

Script Tracker https://github.com/bwmilby/scriptTracker

EddieLee
Posts: 118
Joined: Thu Oct 25, 2018 1:06 pm

Re: IOS Deployment

Post by EddieLee » Wed Mar 10, 2021 7:18 am

bwmilby wrote:
Sat Mar 06, 2021 11:30 pm
Here are a couple of screen shots to help.

First, create a new project in Xcode and save it somewhere convenient. You are only using this to have it generate the signing certificate that LC will use. Once the project is created, the tab to concentrate on is the "Signing" one.
Xcode.png
With your phone connected (and probably unlocked/authorized for Xcode), you will need to select it in the top of the project window (where it currently has iPhone SE). Leave the automatically manage option selected. Team should just be your name (if not there, you will need to add it and use the free dev account that you created). The bundle identifier will match the internal app id in LC. You set it in Xcode and when you select the profile in LC it will prompt you and change it if they don't match.
LC1.png
In LC, you need to specify the app ID and select the profile from the drop down menu. You may need to restart LC after you update the cert in Xcode for it to show up in the menu.
Hello Brian,

Thanks for the help! However it looks like my mac cant detect my iphone for it to show up in the devices available part, i will try to rectify it and will update here!

Thanks
Eddie :D

bwmilby
Posts: 438
Joined: Wed Jun 07, 2017 5:37 am
Location: Henrico, VA
Contact:

Re: IOS Deployment

Post by bwmilby » Wed Mar 31, 2021 2:15 am

One thing to check is to connect your phone and then unlock it. You may see a message about trusting the computer.
Brian Milby

Script Tracker https://github.com/bwmilby/scriptTracker

Post Reply

Return to “iOS Deployment”