Page 1 of 1

No longer able to build standalone for iOS since upgrade

Posted: Thu Oct 01, 2020 8:23 pm
by rcmills
I recently upgraded to Catalina MacOSX, and to LC 9.6.1. I installed Xcode 11.5 to get SDK 13.5, which this version of LC demands, but I am getting an error message (failed to create launch screen: xcrun: error: invalid active developer path) when trying standalone build for iOS. The message goes on to give the path (/Library/Developer/CommandLineTools) and says xcrun is missing at: /Library/Developer/CommandLineTools/usr/bin/xcrun.

I read some other threads suggesting reverting to Xcode 11.4, but I get the same message after doing so.

I have also tried the terminal command (sudo xcode-select -- install) suggested in another thread, but I get a message that the software can't be downloaded because it is not currently available from the Software Update server.

Is there something I am missing? Can anyone help me?

Re: No longer able to build standalone for iOS since upgrade

Posted: Fri Oct 02, 2020 2:51 pm
by LiveCode_Panos
Hello rcmills,

You probably need to tell Xcode where to look for the command line tools (which include xcrun). To do that:

- Quit LC
- Open a terminal and type:

Code: Select all

sudo xcode-select -s path/to/xcode11.5.app
So for example if you have installed Xcode11.5 in your Applications folder, the above command will be:

Code: Select all

sudo xcode-select -s /Applications/Xcode.app
- Reopen LC and build an iOS standalone - this should work now

Kind regards,
Panos
--

Re: No longer able to build standalone for iOS since upgrade

Posted: Fri Oct 02, 2020 9:38 pm
by rcmills
Thanks, Panos!

That worked!