Hardcoding Xcode.app

Chris Jones jonesc at hep.phy.cam.ac.uk
Fri Oct 9 20:12:09 UTC 2020


I see no need for this, given there are command line utilities available to determine the user selected Xcode location. And as pointed out, any assumptions made will be wrong for someone....

> On 9 Oct 2020, at 9:05 pm, Michael Dickens <michaelld at macports.org> wrote:
> 
> Beta Xcode is at "/Applications/Xcode-beta.app" ... so, no, we can't hard code that precisely. That said, it wouldn't be difficult to have this setting as a preference in a .conf file, if it isn't already. That way it -can- be changed for those of us who regularly run beta software. - MLD
> 
>> On Fri, Oct 9, 2020, at 3:58 PM, Christopher Chavez wrote:
>> Can MacPorts hardcode references to Xcode.app, by assuming it is at 
>> /Applications/Xcode.app (as when installed from the App Store), and/or 
>> that it will remain wherever it was found and won't ever be 
>> moved/deleted?
>> 
>> I would think the answer is "no": it is outside of MacPorts' control, 
>> and some users have reason to switch between multiple installed Xcode 
>> versions.
>> 
>> See https://trac.macports.org/ticket/58378#comment:7 . I think I have 
>> come across other instances of this issue, but can't remember where.
>> 
>> 
>> Christopher A. Chavez
>> 



More information about the macports-dev mailing list