[MacPorts] #51684: xcodebuild exists but failed to execute
#51684: xcodebuild exists but failed to execute ------------------------------+-------------------------------- Reporter: nkychidiogbolu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: ------------------------------+-------------------------------- I update my Mac to OS X El Capitan, installed Xcode from the app store, installed the command line tools, and finally installed macports. I, then, attempted to run a command and got this: [[Image(/Users/NKY/Desktop/Screen Shot 2016-06-21 at 4.54.16 PM.png)]] I tried to reset and then check on the license but I got this: [[Image(/Users/NKY/Desktop/Screen Shot 2016-06-21 at 4.54.16 PM.png)]] Help? -- Ticket URL: <https://trac.macports.org/ticket/51684> MacPorts <https://www.macports.org/> Ports system for OS X
#51684: xcodebuild exists but failed to execute -------------------------------+-------------------------------- Reporter: nkychidiogbolu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.4 Resolution: | Keywords: Port: | -------------------------------+-------------------------------- Changes (by ryandesign@…): * priority: High => Normal * component: ports => base Old description:
I update my Mac to OS X El Capitan, installed Xcode from the app store, installed the command line tools, and finally installed macports. I, then, attempted to run a command and got this:
[[Image(/Users/NKY/Desktop/Screen Shot 2016-06-21 at 4.54.16 PM.png)]]
I tried to reset and then check on the license but I got this:
[[Image(/Users/NKY/Desktop/Screen Shot 2016-06-21 at 4.54.16 PM.png)]]
Help?
New description: I update my Mac to OS X El Capitan, installed Xcode from the app store, installed the command line tools, and finally installed macports. I, then, attempted to run a command and got this: [[Image(Screen Shot 2016-06-21 at 4.54.16 PM.png)]] I tried to reset and then check on the license but I got this: [[Image(Screen Shot 2016-06-21 at 4.54.16 PM.png)]] Help? -- Comment: Based on the screen shots, I don't see anywhere that you ran: {{{ xcode-select --switch /Applications/Xcode.app/Contents/Developer }}} Please run that. (Or, if you have Xcode.app somewhere other than directly in /Applications, use the correct path for your system.) -- Ticket URL: <https://trac.macports.org/ticket/51684#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51684: xcodebuild exists but failed to execute -------------------------------+-------------------------------- Reporter: nkychidiogbolu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.4 Resolution: | Keywords: Port: | -------------------------------+-------------------------------- Comment (by nkychidiogbolu@…): Replying to [comment:1 ryandesign@…]:
Based on the screen shots, I don't see anywhere that you ran:
{{{ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer }}}
Please run that. (Or, if you have Xcode.app somewhere other than directly in /Applications, use the correct path for your system.)
Xcode.app is directly in my applications. [[Image(/Users/NKY/Desktop/Screen Shot 2016-06-22 at 7.38.49 AM.png)]] -- Ticket URL: <https://trac.macports.org/ticket/51684#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51684: xcodebuild exists but failed to execute -------------------------------+-------------------------------- Reporter: nkychidiogbolu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.4 Resolution: | Keywords: Port: | -------------------------------+-------------------------------- Comment (by ryandesign@…): Ok, then the `xcode-select` command I showed above should work. -- Ticket URL: <https://trac.macports.org/ticket/51684#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#51684: xcodebuild exists but failed to execute -------------------------------+-------------------------------- Reporter: nkychidiogbolu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.4 Resolution: | Keywords: Port: | -------------------------------+-------------------------------- Comment (by nkychidiogbolu@…): Replying to [comment:3 ryandesign@…]:
Ok, then the `code-select` command I showed above should work.
I tried that and still got an error message I'll attach another screenshot to show the error message. -- Ticket URL: <https://trac.macports.org/ticket/51684#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#51684: xcodebuild exists but failed to execute -------------------------------+-------------------------------- Reporter: nkychidiogbolu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.4 Resolution: | Keywords: Port: | -------------------------------+-------------------------------- Comment (by ryandesign@…): It would be better if you pasted your terminal transcript into the ticket comments as text, rather than by attaching screenshots which are not searchable. You latest screenshot shows this error message: {{{ xcode-select: error: invalid developer directory '/Applications/Xcode.app/Contents/Developer' }}} This suggests that Xcode.app is not in /Applications; put it there, or adjust the command for the location where you did put Xcode.app. -- Ticket URL: <https://trac.macports.org/ticket/51684#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts