xCodeError_oTool Solved
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
xCodeError_oTool Solved
Hi All,
Sudddenly I got an error while compilation with these messages.
(OSX 10.13, xCode 8.3.3, LC 8.1.6)
First time I meet it (i compiled one standalone 4 days ago with success)
Is there anyone who met it and found a trick ?
Thanks in advance
Jean-Marc
Sudddenly I got an error while compilation with these messages.
(OSX 10.13, xCode 8.3.3, LC 8.1.6)
First time I meet it (i compiled one standalone 4 days ago with success)
Is there anyone who met it and found a trick ?
Thanks in advance
Jean-Marc
Last edited by jmburnod on Tue May 15, 2018 2:27 pm, edited 1 time in total.
https://alternatic.ch
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: xCodeError_oTool
Hi Jean-Marc,
What is the output of this command in the terminal?
it should output a path to your Xcode.app bundle:
/Applications/Xcode.app/Contents/Developer
I assume /Applications/Xcode.app is indeed Xcode 8.3.3, correct?
Did you select "Install" in the dialog that appeared? If not, I suggest you do so.
Best,
Panos
--
What is the output of this command in the terminal?
Code: Select all
xcode-select -p
/Applications/Xcode.app/Contents/Developer
I assume /Applications/Xcode.app is indeed Xcode 8.3.3, correct?
Did you select "Install" in the dialog that appeared? If not, I suggest you do so.
Best,
Panos
--
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: xCodeError_oTool
Hi Panos
Thanks
I get this:
xCode 8.3.3 is called "xCode 8.3.3" (selected in mobile preference)
xCode 9.2 is called "xCode 9.2"
I tried to put "xCode 9.2" in trash with same results
Best
Jean-Marc
Thanks
I get this:
I have two xCode versions in my application folder.Last login: Tue May 15 09:29:59 on console:
iMacdeJeanMarc:~ jean-marcburnod$ xcode-select -p
xcode-select: error: unable to get active developer directory, use `sudo xcode-select --switch path/to/Xcode.app` to set one (or see `man xcode-select`)
iMacdeJeanMarc:~ jean-marcburnod$
xCode 8.3.3 is called "xCode 8.3.3" (selected in mobile preference)
xCode 9.2 is called "xCode 9.2"
I tried to put "xCode 9.2" in trash with same results
No. Maybe this afternoonDid you select "Install" in the dialog that appeared? If not, I suggest you do so.
Best
Jean-Marc
https://alternatic.ch
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: xCodeError_oTool
Ok I see. It seems that the path to Xcode's command line tools is not set. Try this in a terminal:
so if your xcode8.3.3 is in /Applications/Xcode.app then this command should be:
then if you do
you should get:
and building a standalone should have no problems.
Best,
Panos
--
Code: Select all
sudo xcode-select -s /path/to/Xcode8.3.3.app
Code: Select all
sudo xcode-select -s /Applications/Xcode.app
Code: Select all
xcode-select -p
Code: Select all
/Applications/Xcode.app/Contents/Developer
Best,
Panos
--
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: xCodeError_oTool
Thanks again Panos
Finally I renamed my xCode file to "xCode.app" and reselected it in mobile preferences and all works as expected.
Best
Jean-Marc
Finally I renamed my xCode file to "xCode.app" and reselected it in mobile preferences and all works as expected.
Best
Jean-Marc
https://alternatic.ch