LiveCode Lagging Behind with Xcode Versions
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
LiveCode Lagging Behind with Xcode Versions
I'm now running macOS 13 Ventura which requires Xcode 14 or newer. The latest LiveCode 9.6.9 RC1 dates back to August 9th and does not work with Xcode 14.0.1 or Xcode 14 RC2. That means no way to compile for iOS with LiveCode in macOS 13. Why does LiveCode always lag behind in iOS SDK support? Not ideal having to maintain 2 versions of Xcode (when there are 2 available that are compatible) just to compile LiveCode apps for iOS.
Is it really that difficult to keep up-to-date with the iOS SDKs and Xcode versions?
Is it really that difficult to keep up-to-date with the iOS SDKs and Xcode versions?
Cheers,
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/
-
- VIP Livecode Opensource Backer
- Posts: 4003
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: LiveCode Lagging Behind with Xcode Versions
Hi Phil,
Maybe this helps a bit.
https://www.mail-archive.com/use-liveco ... 16857.html
Kind regards
Bernd
Maybe this helps a bit.
https://www.mail-archive.com/use-liveco ... 16857.html
Kind regards
Bernd
Re: LiveCode Lagging Behind with Xcode Versions
Hi Bernd,bn wrote: ↑Wed Oct 26, 2022 9:47 pmHi Phil,
Maybe this helps a bit.
https://www.mail-archive.com/use-liveco ... 16857.html
Kind regards
Bernd
I don't have any problems running LiveCode 9.6.9 RC 1 in macOS Ventura. The issue is with Xcode which must be version 14 or newer to run in macOS Ventura. So that results in the typical LiveCode incompatibility with current versions of the iOS SDK. Xcode 14 was released on Sept 12th, 1.5 months ago. That's the oldest version that can be used in macOS 13.
Cheers,
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: LiveCode Lagging Behind with Xcode Versions
From the mailing list: https://www.mail-archive.com/use-liveco ... 6864.html
This is the workaround for now:
This is the workaround for now:
Edit: I realize this isn't for building standalones but at least you can use the simulator. It may also work for standalones, you can try it.1. Rename the version of the Xcode app required by Livecode (e.g. version 13.2) to 'Xcode 13.2’.
2. In Livecode Preferences -> Mobile Support select the Xcode 13.2 app as the
location for iOS SDKs.
3. Download version Xcode 14.1 RC2 from the Apple Developer site.
4. When Xcode 14.1 is installed as Xcode app in the applications folder, launch
Xcode and select ‘Simulator’ from the Xcode -> Open Developer Tool menu.
5. In the dock, control click (right click) on the Simulator icon select
Options -> Keep in Dock - this allows you to launch the Simulator app at will.
6. With the desired simulated device open use Livecode’s Development -> Test to launch your app in the open Simulator. This has worked fine for me so far!
Also (as others have pointed out), the Xcode 13.2 app is disabled under Mac OS Ventura. You can still select it as the source of Livecode’s iOS SDKs but you cannot launch the app.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 327
- Joined: Sun Apr 15, 2012 1:17 am
- Location: USA
- Contact:
Re: LiveCode Lagging Behind with Xcode Versions
Thanks, but I need to build the standalone.
I guess my only recourse is to create a virtual machine and install an older version of MacOS and build it from there (if that is possible II've never done that)
or wait until RunRev releases a new version that works with MacOS 13 and higher.
I guess my only recourse is to create a virtual machine and install an older version of MacOS and build it from there (if that is possible II've never done that)
or wait until RunRev releases a new version that works with MacOS 13 and higher.
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/
Re: LiveCode Lagging Behind with Xcode Versions
Word through the grapevine is LiveCode 9.6.9 (rc 3) will work with Xcode 14 (or maybe a newer variant) which will solve this same issue I have where it's currently impossible to compile iOS apps with LiveCode in macOS 13.0.1.Newbie4 wrote: ↑Sat Nov 19, 2022 6:28 pmThanks, but I need to build the standalone.
I guess my only recourse is to create a virtual machine and install an older version of MacOS and build it from there (if that is possible II've never done that)
or wait until RunRev releases a new version that works with MacOS 13 and higher.
Cheers,
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: LiveCode Lagging Behind with Xcode Versions
Hello all,
You should be able to build iOS standalones on MacOS Ventura with Xcode 13.2.x.
When building an iOS standalone, LiveCode uses some command line tools and iOS SDKs that are bundled within the specific Xcode version that the particular LiveCode version requires.
So, even if Xcode 13.2.x cannot run on MacOS Ventura, this is not a problem, since you won't have to run Xcode 13.2.x directly. You just need to have it installed and point to it in LiveCode Preferences.
Hope this helps.
Kind regards,
Panos
--
You should be able to build iOS standalones on MacOS Ventura with Xcode 13.2.x.
When building an iOS standalone, LiveCode uses some command line tools and iOS SDKs that are bundled within the specific Xcode version that the particular LiveCode version requires.
So, even if Xcode 13.2.x cannot run on MacOS Ventura, this is not a problem, since you won't have to run Xcode 13.2.x directly. You just need to have it installed and point to it in LiveCode Preferences.
Hope this helps.
Kind regards,
Panos
--
Re: LiveCode Lagging Behind with Xcode Versions
Hi Panos,LiveCode_Panos wrote: ↑Mon Nov 21, 2022 11:08 amHello all,
You should be able to build iOS standalones on MacOS Ventura with Xcode 13.2.x.
When building an iOS standalone, LiveCode uses some command line tools and iOS SDKs that are bundled within the specific Xcode version that the particular LiveCode version requires.
So, even if Xcode 13.2.x cannot run on MacOS Ventura, this is not a problem, since you won't have to run Xcode 13.2.x directly. You just need to have it installed and point to it in LiveCode Preferences.
Hope this helps.
Kind regards,
Panos
--
There was one important piece missing from your instructions. Just pointing to Xcode 13.2.1 in LiveCode then attempting to build an iOS standalone resulted in this error:
The missing link was to run xcode-select in Terminal (with sudo) and select the Xcode 13.2.1 app bundle. Then LiveCode 9.6.9 (rc 2) was able to build the iOS standalone in macOS Ventura.
Cheers,
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: LiveCode Lagging Behind with Xcode Versions
Phil,
Indeed, you are correct, thank you for pointing out this missing step.
Kind regards,
Panos
--
Indeed, you are correct, thank you for pointing out this missing step.
Kind regards,
Panos
--
-
- Posts: 12
- Joined: Thu Feb 12, 2015 12:22 pm
Re: LiveCode Lagging Behind with Xcode Versions
Hello Panos and Phil,
Could you give us a clear procedure to make a standalone work with Xcode 13?
I don't understand what you ment by running Terminal with sudo Xcode 13?
Thanks,
Dirk
Could you give us a clear procedure to make a standalone work with Xcode 13?
I don't understand what you ment by running Terminal with sudo Xcode 13?
Thanks,
Dirk
-
- VIP Livecode Opensource Backer
- Posts: 327
- Joined: Sun Apr 15, 2012 1:17 am
- Location: USA
- Contact:
Re: LiveCode Lagging Behind with Xcode Versions
This is what I did that worked. Try doing them in order:
I hope this helps...1a. Download Xcode 13.2.1 and install it.
- Move this version into another folder or rename it (e.g. xcode_13_2_1)
- You do not want it overwritten when you download a newer copy of Xcode.
- This is the latest version of Xcode that LiveCode (versions 9.6.9 rc2 or 10.0.0 dp4) builds standalones with.
1b. Point LiveCode to this version
- Open up your project in LiveCode --> Click on "LiveCode", click on "Preferences", click on "Mobile Support" and add an entry to "IOS SDKs" that points to where you put your Xcode 13.2.1
1c. Build the standalone.
2a. Downloaded Xcode 14.1 and install it.
- This is the version that is required for the MacOS Ventura that is on your computer
2b. Run this version of Xcode to install the standalone on your phone
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: LiveCode Lagging Behind with Xcode Versions
Hello all,
If your device runs a newer iOS version, then you do NOT need to download a newer version of Xcode for installing the standalone to your device. You can just use your current Xcode version. You might see a warning that your device iOS version is not supported by this version of Xcode or something like this, but you can safely ignore it and install the built iOS app in your device.
Kind regards,
Panos
--
If your device runs a newer iOS version, then you do NOT need to download a newer version of Xcode for installing the standalone to your device. You can just use your current Xcode version. You might see a warning that your device iOS version is not supported by this version of Xcode or something like this, but you can safely ignore it and install the built iOS app in your device.
Kind regards,
Panos
--