Opened 5 years ago

Closed 5 years ago

#59374 closed defect (fixed)

py37-pyobjc 5.2 on Mojave with Xcode 11.1: xcode-select: error: tool 'xcodebuild' requires Xcode

Reported by: d0wntime Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc:
Port: py-pyobjc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The build is throwing the error ...

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

... and the build appears to be choosing this directory; "xcode-select -p" returns "/Applications/Xcode.app/Contents/Developer"

Attachments (1)

main.log (253.8 KB) - added by d0wntime 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by d0wntime

Attachment: main.log added

comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Does adding use_xcode yes to the Portfile help?

comment:2 Changed 5 years ago by d0wntime

yes sir, it finishes building with that line added to the Portfile.

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Port: py-pyobjc added; py37-pyobjc removed

comment:4 Changed 5 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Fixed in 5.3 (uses xcrun instead).

Note: See TracTickets for help on using tickets.