Using iOS 9.3.5 with LC 8.1.1 and macOS 10.12

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

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

Using iOS 9.3.5 with LC 8.1.1 and macOS 10.12

Post by marksmithhfx » Tue Nov 22, 2016 9:15 pm

I just wanted to provide some feedback on the table matching iOS versions to Livecode versions, etc, as it may not be entirely correct (I think I may have found a valuable exception). Long story short I recently purchased a new Mac with OS 10.12 Sierra installed. Having the latest OS version and wanting to run with the most stable release of Livecode I chose this combination from the table:

LiveCode 8.1.1 – Xcode 8.0 – Mac OS 10.12 – iOS 10.0

I proceeded to download Livecode 8.1.1 and installed Xcode 8.0. All good. Then I discovered that I have an older iPad (I think it’s an iPad version 3). Anyway, Apple won’t let me update this to iOS 10.0. The maximum version I can install is 9.3.5.

I decided to proceed with 9.3.5 and test it with the above configuration. At first when I tried compiling, LC would give me an error message saying the required version of iOS was not installed BUT, and this is a big but, only if I had the iOS device attached to my computer (ie. the iPad 3). If I disconnected the iPad it would compile fine and Xcode would deliver the application bundle to the iPad when re-connected AND install it. I’ve tested this and found nothing wanting. It is not a simple application - it encrypts and decrypts an SQLite database on the fly to provided added privacy protection. It all works fine.

But I guess the writing is on the wall, and I will soon have to replace my iPad (and my clients) to a newer version. For now we are getting by.

For completeness I have provided an edited entry for the table. I know there are a bazillion different combinations and RR can only test so many. The ones’ they have recommended work in all configurations (ie. with the device connected or disconnected). But for those with an older iPad 3 device, this additional option may provide a solution if the intent is to use Livecode 8.1.1 and macOS 10.12.

LiveCode 8.1.1 – Xcode 8.0 – Mac OS 10.12 – iOS 10.0 (if device is connected), iOS 9.3.5 (if device is not connected)

Your mileage may vary…

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

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: Using iOS 9.3.5 with LC 8.1.1 and macOS 10.12

Post by LiveCode_Panos » Wed Nov 23, 2016 11:21 am

Hi Mark,

Thank you for this. There is a slight confusion about this table matching Xcode/iOS/OSX/LiveCode versions.

The "iOS" version in this table indicates the version of the iOS **SDK** that is used to *build* the iOS standalone. This (iOS SDK version) comes with the particular Xcode version, and it is different from the "iOS minimum deployment version" (—> this is the minimum supported iOS version that the device runs, and you can set it in the Standalone Settings for iOS).

So in your example, since you are on macOS 10.12 and use LC 8.1.1, you *have to* use Xcode 8.0 to build an iOS standalone. This standalone will be built using the iOS 10 SDK version, but the standalone will run to *any* device running at least the minimum version you specify at the Standalone App Settings, in the field that says e.g. "5.1.1 or later".

Hope this helps,
Panos

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

Re: Using iOS 9.3.5 with LC 8.1.1 and macOS 10.12

Post by marksmithhfx » Fri Nov 25, 2016 12:10 am

Hold the presses. It had nothing to do with my iPad being plugged in.

Here are the results of my next 5 compiles:

8 am – compile, no changes to code, no iPad plugged in. Fails with warning: object file was built for newer iOS version (10.0) than being linked (9.3)
8:05 – compiled again, no changes to code, no iPad plugged in (ie. no changes at all). Succeeded

When I first saw that error message (previously – when the iPad was connected) I interpreted it as saying that the iOS on my iPad was not current enough. So, I just disconnected my iPad and it compiled. But as the above test suggests, I would have gotten the same result even if an iPad was connected. Onwards….

4 pm – compile, no changes to code, no iPad plugged in (ie. no changes since this morning). Fails with same warning.
4:05 – repeat process. Succeeds.
4:10 – plug in iPad, repeat process. Succeeds.

Thus, definitely proving that whether the iPad is plugged in or not, makes no difference.

Now, what is strange (actually 2 things) is this: that it failed some 8 hours after it had previously succeeded and nothing was changed. I will repeat this test (ie. no changes except the clock) overnight and see what happens in the morning. Another thing that is strange, of course, is that it fails one time then succeeds the next with no intervening changes. One does wonder why. Once I think I understand it better, I'll file a bug report.

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

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: Using iOS 9.3.5 with LC 8.1.1 and macOS 10.12

Post by teacherguy » Fri Nov 25, 2016 2:40 am

Have you tried 8.1.2?

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

Re: Using iOS 9.3.5 with LC 8.1.1 and macOS 10.12

Post by marksmithhfx » Sat Nov 26, 2016 12:38 am

Not yet. Will try that this weekend.
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: Using iOS 9.3.5 with LC 8.1.1 and macOS 10.12

Post by marksmithhfx » Sat Nov 26, 2016 12:47 am

Does anyone know if 8.1.2 is supposed to be a plug and play replacement for 8.1.1 (ie. it's not on the "version matching" list yet)?

https://livecode.com/resources/support/ask-a-question/
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: Using iOS 9.3.5 with LC 8.1.1 and macOS 10.12

Post by teacherguy » Sat Nov 26, 2016 5:13 am

I've been using it and it's working fine.

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: Using iOS 9.3.5 with LC 8.1.1 and macOS 10.12

Post by LiveCode_Panos » Sat Nov 26, 2016 4:14 pm

If you are on OSX 10.11.5 or more, you need Xcode 8.1 with LC 8.1.2 RC-2.

Post Reply

Return to “iOS Deployment”