Page 1 of 1

xCode 15.2 update and macOS Sonoma

Posted: Sun Jan 14, 2024 10:37 am
by trevix
Hello.
Yesterday I was successfully using macOS Monterey, LC10 dp6, Xcode 14.2

Today I decided it was time to update OSX to Sonoma:
  • I updated the OSX to Sonoma 14.2.1
    I updated Xcode to 15.2
    I updated LC to 10dp7
Every update was smooth.
But adding the new Xcode version to LC Preferences/mobile support, I got this message:
Screenshot 2024-01-14 alle 10.15.11.png
I then spent the following 3 hours trying to find out what could be done.
Please note that apparently all my Xcode Platforms are already installed:
Screenshot 2024-01-14 alle 10.27.22.png
What can I do?

My update strategy of the trio (OSX,LC,xCode) apparently, having a current published App, is a no-win situation: if I update the trio too often I risk of not being able to update my App for a while. If I wait for major changes, I alway get into some kind of trouble (or may be I forget all the needed steps).
Thanks

Re: xCode 15.2 update and macOS Sonoma

Posted: Sun Jan 14, 2024 11:26 am
by SWEdeAndy
trevix wrote:
Sun Jan 14, 2024 10:37 am
I updated Xcode to 15.2
Unfortunately, you'll need to downgrade to Xcode 15.0 for this to work. Confirmed by the mothership over at the list:
http://lists.runrev.com/pipermail/use-l ... 71698.html

From the info available on the LiveCode website, I concocted this little sankey diagram stack for keeping track, as I keep running into exactly the same trouble as you from time to time. :)
https://wheninspace.com/LCXcode/

Re: xCode 15.2 update and macOS Sonoma

Posted: Sun Jan 14, 2024 12:13 pm
by stam
SWEdeAndy wrote:
Sun Jan 14, 2024 11:26 am
From the info available on the LiveCode website, I concocted this little sankey diagram stack for keeping track, as I keep running into exactly the same trouble as you from time to time. :)
https://wheninspace.com/LCXcode/
what a wonderful diagram :)
Won't someone please port mermaid.js to LC :D

On a more serious note, does this mean no version of LC can create apps for iOS 17.2? (current version of iOS is 17.2.1)

Re: xCode 15.2 update and macOS Sonoma

Posted: Sun Jan 14, 2024 12:27 pm
by trevix
Thanks so much.
Unfortunately, you'll need to downgrade to Xcode 15.0 for this to work. Confirmed by the mothership over at the list:
http://lists.runrev.com/pipermail/use-l ... 71698.html
Is it xCode 15.0 or 15.0.1? Does it matter?

Also, I noticed that the previous versions of xCode (which I kept in a different folder) with Sonoma are now somehow disabled...
Does it make sense to still keep them and have them listed int the "Mobile support" ?

Re: xCode 15.2 update and macOS Sonoma

Posted: Sun Jan 14, 2024 1:24 pm
by SWEdeAndy
stam wrote:
Sun Jan 14, 2024 12:13 pm
what a wonderful diagram :)
Won't someone please port mermaid.js to LC :D
When script widgets reach release maturity, I could maybe "semi-port" mermaid by making a browser widget-based script widget that handles all the js stuff and you just feed it the relevant mermaid syntax. That would still require an internet connection for it to work though.
stam wrote:
Sun Jan 14, 2024 12:13 pm
On a more serious note, does this mean no version of LC can create apps for iOS 17.2? (current version of iOS is 17.2.1)
Well, my understanding is that the iOS version presented is the highest target version available. (While all the other items in the diagram are minimum versions required.)

The highest iOS target LiveCode can currently produce for is iOS 17.0, but that will work on many subsequent iOS updates, possibly well through iOS 18 etc (you never know with Apple). For example, I have an app in the AppStore built for iOS 16 which still works perfectly fine. You may not want to target too high anyway, as that would exclude people who can't update iOS (or just haven't yet) to the very latest version.

Re: xCode 15.2 update and macOS Sonoma

Posted: Sun Jan 14, 2024 1:50 pm
by SWEdeAndy
trevix wrote:
Sun Jan 14, 2024 12:27 pm
Is it xCode 15.0 or 15.0.1? Does it matter?
I believe both are valid, but I haven't actually tested myself. If you try 15.0.1, please report the outcome here, it would be great to have it confirmed.
trevix wrote:
Sun Jan 14, 2024 12:27 pm
Also, I noticed that the previous versions of xCode (which I kept in a different folder) with Sonoma are now somehow disabled...
Does it make sense to still keep them and have them listed int the "Mobile support" ?
I don't think there's any point keeping them. To produce and app valid for the AppStore you must use iOS SDK 17.0 which only Xcode 15+ has.

And with that I'd like to correct/amend to my previous post: There is a difference between the iOS SDK version and the actual iOS versions it can build for. So, you'll be using Xcode 15 with the iOS SDK 17.0, but then in the LC standalone builder, you can select any minimum target iOS version down to very old ones.

Noteworthy then is that:
iPhone 8, iPhone 8 Plus and iPhone X can't go beyond iOS 16, and
iPhone 6 and iPhone 7 can't go beyond iOS 15

So, depending on your target customers' expected technology level, you need to choose your minimum iOS build version accordingly.
(You probably know this already, but I try to write here also with other readers in mind :D )

Re: xCode 15.2 update and macOS Sonoma

Posted: Thu Jan 18, 2024 12:39 am
by mtalluto
I can confirm that xCode 15.0.1 works with LC 9.6.11.

Re: xCode 15.2 update and macOS Sonoma

Posted: Wed Jan 24, 2024 11:15 pm
by JereMiami
I have successful iOS deployment with the following combination:

LC 9.6.11
Sonoma 14.3
iOS 16.1
xCode 15.0.1