[MacPorts] #67079: osxfuse @3.8.3_0: No version of Xcode found

MacPorts noreply at macports.org
Fri Mar 10 06:00:58 UTC 2023


#67079: osxfuse @3.8.3_0: No version of Xcode found
----------------------+--------------------
  Reporter:  Darieb   |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:           |   Keywords:
      Port:  osxfuse  |
----------------------+--------------------

Comment (by ryandesign):

 Replying to [comment:3 Darieb]:
 > I can find no such error nor any reference to mdfind in the  "main.log"
 that I think I sent. Perhaps you mixed up logs?

 I was saying that the other log, [attachment:ticket:57142:main.log the one
 in #57142], contains the `mdfind` line I quoted while yours does not,
 therefore even though the error message ("No version of Xcode found") is
 the same in both tickets, the cause and/or solution might turn out to be
 different from the one in that ticket.

 Replying to [comment:4 Darieb]:
 > BTW, Xcode has built-in answers to some of the questions that xcode.sh
 is looking for:
 >
 > xcode-select should be in every OS X, I think and returns a null result
 if there is no Xcode.

 Sure. I can't guess why the developer of osxfuse chose to write their own
 code to find Xcode rather than use xcode-select. You'd have to ask them.
 Maybe they've already changed it in later versions. We can't check because
 [https://colatkinson.site/macos/fuse/2019/09/29/osxfuse/ osxfuse is no
 longer open source].

 You could probably still use the [attachment:ticket:57142:patch-no-
 spotlight.diff patch attached to #57142] which hardcodes the value
 /Applications/Xcode.app into the script, or write your own patch to use
 xcode-select if you prefer.

-- 
Ticket URL: <https://trac.macports.org/ticket/67079#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list