Can't build standalone anymore
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Can't build standalone anymore
MacOS Mojave 10 14 6, LiveCode 9 6 1
Since I updated to LC 9 6 1, when trying to build standalone for MacOS, it fails and I get "XCRun error : invalid active developer path"
Same MacOS Mojave 10 14 6 and LiveCode 9 6 0 worked fine.
Looks like scrun is missing from path "Library/Developer/CommandLineTools/usr/bin/" (even whole bin folder missing there)
Copying the whole bin folder from usr didn't fix.
What's the fix ?
Thanks
Since I updated to LC 9 6 1, when trying to build standalone for MacOS, it fails and I get "XCRun error : invalid active developer path"
Same MacOS Mojave 10 14 6 and LiveCode 9 6 0 worked fine.
Looks like scrun is missing from path "Library/Developer/CommandLineTools/usr/bin/" (even whole bin folder missing there)
Copying the whole bin folder from usr didn't fix.
What's the fix ?
Thanks
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Can't build standalone anymore
Dunno: over "here" on macOS 11.0 beta 5, LC 9.6.1 builds standalones without
a hitch.
a hitch.
-
- VIP Livecode Opensource Backer
- Posts: 9582
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Can't build standalone anymore
Hi.
So without changing anything, if you try to build your standalone in 9.5 it works fine? And the EXACT same stack file(s) with the exact same procedure fails in 9.6? The exact same inclusions, etc.?
I also had no problems migrating upwards.
Craig
So without changing anything, if you try to build your standalone in 9.5 it works fine? And the EXACT same stack file(s) with the exact same procedure fails in 9.6? The exact same inclusions, etc.?
I also had no problems migrating upwards.
Craig
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Can't build standalone anymore
- -Looks like scrun is missing from path "Library/Developer/CommandLineTools/usr/bin/" (even whole bin folder missing there)
I am building standalones without any of that; so that is NOT
your problem.
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Can't build standalone anymore
Your problem may lie here: it seems to cause a series of "hiccups":
-
-
Re: Can't build standalone anymore
Can't access the file, can you please send it in message ?richmond62 wrote: Your problem may lie here: it seems to cause a series of "hiccups":
-
Screenshot
thanks
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Can't build standalone anymore
Here's that screenshot.
- Attachments
-
- Screenshot 2020-08-30 at 19.26.02.zip
- (122.47 KiB) Downloaded 214 times
Re: Can't build standalone anymore
Thanks for your replies, guys, but unfortunately I cannot see attached files
"You do not have the required permissions to view the files attached to this post."
Anyone sending it by email at fredos(at)me(dot)com ?
Thanks
"You do not have the required permissions to view the files attached to this post."
Anyone sending it by email at fredos(at)me(dot)com ?
Thanks
Re: Can't build standalone anymore
Just to mention more infos, I did a fresh install on my MacBook Pro (MacOS 10-14-6 too) where LiveCode never was installed before,
still get the same error when trying to build the standalone.
still get the same error when trying to build the standalone.
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Can't build standalone anymore
Hello all,
Try typing this in the Terminal, and then try again to build a standalone (you might need to quit and reopen LC):
This command will hopefully install the missing command line tools that are needed for building the Mac standalone
Try typing this in the Terminal, and then try again to build a standalone (you might need to quit and reopen LC):
Code: Select all
sudo xcode-select --install
Re: Can't build standalone anymore
That worked ! Thanks for it.LiveCode_Panos wrote: ↑Tue Sep 01, 2020 11:59 amTry typing this in the Terminal, and then try again to build a standalone (you might need to quit and reopen LC):This command will hopefully install the missing command line tools that are needed for building the Mac standaloneCode: Select all
sudo xcode-select --install
-
- VIP Livecode Opensource Backer
- Posts: 9582
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Can't build standalone anymore
Panos.
Craig
Is there anything that might be of general interest in the solution you provided?This command will hopefully install the missing command line tools that are needed for building the Mac standalone
Craig
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Can't build standalone anymore
Hello Craig,
If you build Mac standalones, then you need to keep that in mind. Starting from LC 9.6.0 (I think), the standalone builder includes an ad-hoc signature in the Mac standalones. This was needed for preventing an error on Catalina, if you had built the standalone in a different machine (https://quality.livecode.com/show_bug.cgi?id=22702).
But for adding an ad-hoc signature, you need the codesign tool. This tool is included in Xcode, so if you develop iOS apps and have Xcode already installed, you will not get the error Fredos got. If not, you need to install codesign, and the easiest way to do so is by updating the command line tools, using the terminal command I posted.
Hope this helps.
Kind regards,
Panos
--
If you build Mac standalones, then you need to keep that in mind. Starting from LC 9.6.0 (I think), the standalone builder includes an ad-hoc signature in the Mac standalones. This was needed for preventing an error on Catalina, if you had built the standalone in a different machine (https://quality.livecode.com/show_bug.cgi?id=22702).
But for adding an ad-hoc signature, you need the codesign tool. This tool is included in Xcode, so if you develop iOS apps and have Xcode already installed, you will not get the error Fredos got. If not, you need to install codesign, and the easiest way to do so is by updating the command line tools, using the terminal command I posted.
Hope this helps.
Kind regards,
Panos
--
Re: Can't build standalone anymore
I recently upgraded to Catalina MacOSX, and to LC 9.6.1. I have installed Xcode 11.5 which has the SDK 13.5, which this version of LC demands, but I am getting the same error message as Fredos when trying standalone build for iOS.
I have tried the terminal command you suggested, 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?
I have tried the terminal command you suggested, 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?