Compiling for iOS : something wrong with Xcode and Sonoma
Ludovic THEBAULT
ludovic.thebault at laposte.net
Wed Oct 11 12:06:37 EDT 2023
> Le 10 oct. 2023 à 19:14, Ludovic THEBAULT via use-livecode <use-livecode at lists.runrev.com> a écrit :
>
> Hello,
>
> Is livecode uptodate is compatible with Sonoma ?
> When I try to compile for iOS I get this error :
>
> There was an error while saving the standalone application linking for arm (arm64) failed with 2023-10-10 18:51:36.404 xcodebuild[74950:3301090] Writing error result bundle to
> /var/folders/j2/bpc701v12p78vsrq5Ifpdd×00000gn/T/ResultBundle_2023-10-10_18-51-0036.xcresult
> xcodebuild: error: SDK "iphoneos 16.2" cannot be located.
> xcrun; error: sh -c '/Users/Xcode.app/Contents/Developer/us/bin/ xcodebuild -sdk iphoneoslo. -hnd q++ <> devnul tailed with exit code 10384: (null) (errno=No such hle or directory)
> xcrun: error: unable to find utility "g++", not a developer tool or in PATH
>
> In the settings of livecode, I’ve selected Xcode 14.2 which doesn’t work on sonoma.
> In Xcode 15 i’ve installed 16.2 simulator.
> I’ve tried to install commandlinetools for Xcode 14.2 but it was refused.
>
> Any ideas ?
>
> Thanks !
>
Hello, I found the solution :
In the terminal, use this command to switch to the « good » Xcode :
sudo xcode-select -switch /path/to/Xcode.app
Ludovic
More information about the use-livecode
mailing list