Load a Standalone onto an iPhone

Getting into LiveCode for iOS? Ask your questions here.

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
trags3
Posts: 232
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Load a Standalone onto an iPhone

Post by trags3 » Sun Jul 22, 2018 2:38 am

I know this is got to be something really basic but....
I have created an app for iPhone.
I successfully saved the file as a StandAlone.
My iPhone is on the list of devices in my Development Certificate.

I don't know how to get the app installed on my iPhone to be able to test it on a device.

Tom

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

Re: Load a Standalone onto an iPhone

Post by Mikey » Sun Jul 22, 2018 2:36 pm

Use Xcode, then hit shift-command 2 to bring up the device list. Hit the plus and add the app.

trags3
Posts: 232
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: Load a Standalone onto an iPhone

Post by trags3 » Sun Jul 22, 2018 5:28 pm

Thanks Mikey

trags3
Posts: 232
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: Load a Standalone onto an iPhone

Post by trags3 » Tue Jul 24, 2018 7:25 pm

OK, Now everything seems to work until I drag the executable onto my test device.
I am using LC 9.0.1 (rc 1) on a MacBook Air with High Sierra v 10.13.6 and Xcode 9.4.1
I have an iPhone 8+ with iOS 11.4.1 (My Test Device)
I have deleted ALL mobileprovision Profiles except the one I use when saving as standalone app from my Mac.
The Standalone is built successfully. When I drag the app to my connected device in Xcode I get the error message "App Installation failed A valid provisioning profile for this executable was not found"

Any suggestions?

Thanks
Tom

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

Re: Load a Standalone onto an iPhone

Post by Mikey » Tue Jul 24, 2018 11:27 pm

I have a QR in with LC regarding old provisioning profiles gumming up the works.
First, check to make sure that combo of XC and LC are ok with each other (check the release notes for LC on which XC version you should be using).

Here's a pretty good procedure to follow next for testing:
https://stackoverflow.com/questions/331 ... s-executab

I want you to delete all provisioning profiles from your Mac manually at the location on the stackoverflow site, then use XC to reinstall them. It will only install the current ones. Then do a build in LC again and try to install it. Let us know what you get.

trags3
Posts: 232
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: Load a Standalone onto an iPhone

Post by trags3 » Wed Jul 25, 2018 3:30 pm

Hi Mikey, Thanks for the Tip.
I already deleted all provisioning profiles except the latest one (which was new).
The Standalone at least then could be generated.
The release notes tell me that LC 9.0.1 (rc 1) and XC 9.4.1 are not yet compatible.
Perhaps more significantly the iOS version on my test devices is 11.4.1 and is not yet fully supported/tested with LC 9.0.1.
The problem I am now having is installing the App on the device.
I'll wait to get a test device with an older iOS version probably next week.
In the future I'll pay attention to the release notes!
Thanks, I'll keep you posted.
Tom

trags3
Posts: 232
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: Load a Standalone onto an iPhone

Post by trags3 » Wed Aug 01, 2018 2:52 pm

The Error Message I get when trying to install the Standalone on my iPhones (using Xcode) is:

on My iPhone 8+ I get the msg "A valid provisioning profile for this executable was not found"

On my iPhone 6S I get the msg "The entitlements specified in your appl;ication's Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile (0xE8008016)."

The iPhone 6s is running iOS 11.4
The iPhone 8+is running iOS 11.4.1

Using LC 9.0.1 (RC 1) (Wont generate standalone with LC 9.0.0.)

Mac OS is High Sierra 10.13.6

Xcode ver 9.4.1

Post Reply

Return to “iOS Deployment”