best Xcode version for Mojave?

2023-06-12 Thread Richard L. Hamilton
"On macOS 10.14, iTerm2 @3.4.19 requires Xcode 11.0 or later but you have Xcode 
10.3."

11.3.1 is the newest Xcode for Mojave.

Is there any known downside to Xcode 11.3.1 on Mojave rather than the 10.3 I 
have on there now? Space is tight, so I'm not sure I want both.

And will I need 11.3.1 command line tools too?



Re: best Xcode version for Mojave?

2023-06-13 Thread Eldrid Rensburg
Interesting options to upgrade macOS itself on "unsupported hardware":

https://dortania.github.io/OpenCore-Legacy-Patcher/START.html
https://dortania.github.io/OpenCore-Legacy-Patcher/MODELS.html

On Tue, 13 Jun 2023, 04:26 Richard L. Hamilton,  wrote:

> "On macOS 10.14, iTerm2 @3.4.19 requires Xcode 11.0 or later but you have
> Xcode 10.3."
>
> 11.3.1 is the newest Xcode for Mojave.
>
> Is there any known downside to Xcode 11.3.1 on Mojave rather than the 10.3
> I have on there now? Space is tight, so I'm not sure I want both.
>
> And will I need 11.3.1 command line tools too?
>
>


Re: best Xcode version for Mojave?

2023-06-13 Thread Richard L. Hamilton
I keep older macOS versions on VMs or old hardware for features they still had 
(Snow Leopard: Rosetta, Mojave: 32-bit support), even with other systems 
running the latest.I do NOT surf the web or use social media on the old ones!

So sometimes I have questions regarding older versions.

> On Jun 13, 2023, at 08:14, Eldrid Rensburg  wrote:
> 
> Interesting options to upgrade macOS itself on "unsupported hardware":
> 
> https://dortania.github.io/OpenCore-Legacy-Patcher/START.html 
> 
> https://dortania.github.io/OpenCore-Legacy-Patcher/MODELS.html 
> 
> On Tue, 13 Jun 2023, 04:26 Richard L. Hamilton,  > wrote:
> "On macOS 10.14, iTerm2 @3.4.19 requires Xcode 11.0 or later but you have 
> Xcode 10.3."
> 
> 11.3.1 is the newest Xcode for Mojave.
> 
> Is there any known downside to Xcode 11.3.1 on Mojave rather than the 10.3 I 
> have on there now? Space is tight, so I'm not sure I want both.
> 
> And will I need 11.3.1 command line tools too?
> 



Re: best Xcode version for Mojave?

2023-06-13 Thread Ken Cunningham


On 2023-06-12, at 7:25 PM, Richard L. Hamilton wrote:

> "On macOS 10.14, iTerm2 @3.4.19 requires Xcode 11.0 or later but you have 
> Xcode 10.3."
> 
> 11.3.1 is the newest Xcode for Mojave.
> 
> Is there any known downside to Xcode 11.3.1 on Mojave rather than the 10.3 I 
> have on there now? Space is tight, so I'm not sure I want both.
> 
> And will I need 11.3.1 command line tools too?
> 


MacPorts builds software most reliably when the MacOSX SDK exactly matches the 
OS version you are building on.

This is because the vast amount of open source software out there does not 
usually take sufficient efforts to account for the different system 
capabilities of MacOS versions in the same way that software written 
specifically for MacOS might.

MacPorts will therefore usually recommend the last version of Xcode that comes 
with a MacOSX SDK that matches the system version. This is what the buildbots 
have installed.

You can, however, save the system-matching SDK from that version of Xcode 
somewhere, update Xcode to the latest version (that usually has the next 
system's MacOS SDK in it), and then copy back the system-matching SDK into the 
proper place in both the CommandLineTools installation and the Xcode 
installation.

Then you have the best of both worlds.

Because this involves extra steps, and is still hard to automate at present, 
MacPorts is not currently recommending that.

But that is what I do.

There are plans underway to allow a system-matching SDK (or any SDK) with any 
version of Xcode, but these have not yet reached the point where this is all 
automated.

Ken

Re: best Xcode version for Mojave?

2023-06-13 Thread Franco Vaccari via macports-users
After updating Xcode while keeping the same OS, should one delete and reinstall 
all MacPorts packages?

Thanks

Franco

> On 13 Jun 2023, at 21:33, Ken Cunningham  
> wrote:
> 
> 
> On 2023-06-12, at 7:25 PM, Richard L. Hamilton wrote:
> 
>> "On macOS 10.14, iTerm2 @3.4.19 requires Xcode 11.0 or later but you have 
>> Xcode 10.3."
>> 
>> 11.3.1 is the newest Xcode for Mojave.
>> 
>> Is there any known downside to Xcode 11.3.1 on Mojave rather than the 10.3 I 
>> have on there now? Space is tight, so I'm not sure I want both.
>> 
>> And will I need 11.3.1 command line tools too?
>> 
> 
> 
> MacPorts builds software most reliably when the MacOSX SDK exactly matches 
> the OS version you are building on.
> 
> This is because the vast amount of open source software out there does not 
> usually take sufficient efforts to account for the different system 
> capabilities of MacOS versions in the same way that software written 
> specifically for MacOS might.
> 
> MacPorts will therefore usually recommend the last version of Xcode that 
> comes with a MacOSX SDK that matches the system version. This is what the 
> buildbots have installed.
> 
> You can, however, save the system-matching SDK from that version of Xcode 
> somewhere, update Xcode to the latest version (that usually has the next 
> system's MacOS SDK in it), and then copy back the system-matching SDK into 
> the proper place in both the CommandLineTools installation and the Xcode 
> installation.
> 
> Then you have the best of both worlds.
> 
> Because this involves extra steps, and is still hard to automate at present, 
> MacPorts is not currently recommending that.
> 
> But that is what I do.
> 
> There are plans underway to allow a system-matching SDK (or any SDK) with any 
> version of Xcode, but these have not yet reached the point where this is all 
> automated.
> 
> Ken




Re: best Xcode version for Mojave?

2023-06-13 Thread Joshua Root

After updating Xcode while keeping the same OS, should one delete and reinstall 
all MacPorts packages?

No, there's no reason to do that if you have only changed the Xcode version.

- Josh



Re: best Xcode version for Mojave?

2023-06-14 Thread raf via macports-users
On Mon, Jun 12, 2023 at 10:25:47PM -0400, "Richard L. Hamilton" 
 wrote:

> "On macOS 10.14, iTerm2 @3.4.19 requires Xcode 11.0 or later but you have 
> Xcode 10.3."
> 
> 11.3.1 is the newest Xcode for Mojave.
> 
> Is there any known downside to Xcode 11.3.1 on Mojave rather than the
> 10.3 I have on there now? Space is tight, so I'm not sure I want both.
> 
> And will I need 11.3.1 command line tools too?

I've got Xcode 11.3 11C29 on 10.14.6. It's fine.
It's almost the latest version. I should upgrade
to 11.3.1.

It's probably fine to replace 10.3 with 11.3.1,
and you probably will want the command line tools
as well.

cheers,
raf