xamarin-macios
xamarin-macios copied to clipboard
Bump min OS versions to match Xcode (14)?
The release notes for Xcode 14 (beta 1) say:
"Xcode 14 supports building applications that target macOS 10.13, iOS 11, tvOS 11, watchOS 4, and later."
Should we do the same?
Note that the underlying SDKs shipped with Xcode 14 seem to support building for earlier OS versions just fine, so we might get away with not doing anything for a while (i.e. it might be an IDE restriction only).
CC @davidortinau
I wonder if that change removed the 32bits compilers...
Otherwise this is not the first time Apple bumped its requirements. Xcode 13.x can still build/install for older devices but can't launch them (you have to do it manually).
update
From the release notes
Building iOS projects with deployment targets for the armv7, armv7s, and i386 architectures is no longer supported. (92831716)
It's not clear if the command lines tools are still available (and they might be removed at any moment).
Looks like inmacOS 12.4 we are having issues installing the older sim (on CI, which is another world of problems):
ownload completed in 64.4599445s
Mounting '/var/folders/z3/p1mf40sj2qv9vh9v8fn8fl5w0000gn/T/x-provisioning/com.apple.pkg.iPhoneSimulatorSDK12_4-12.4.1.1568665771.dmg' into '/var/folders/z3/p1mf40sj2qv9vh9v8fn8fl5w0000gn/T/x-provisioning/com.apple.pkg.iPhoneSimulatorSDK12_4-12.4.1.1568665771.dmg-mount'...
Expanding '/var/folders/z3/p1mf40sj2qv9vh9v8fn8fl5w0000gn/T/x-provisioning/com.apple.pkg.iPhoneSimulatorSDK12_4-12.4.1.1568665771.dmg-mount/iPhoneSimulatorSDK12_4.pkg' into '/var/folders/z3/p1mf40sj2qv9vh9v8fn8fl5w0000gn/T/x-provisioning-expanded-pkg'...
Creating fixed package '/var/folders/z3/p1mf40sj2qv9vh9v8fn8fl5w0000gn/T/x-provisioning/com.apple.pkg.iPhoneSimulatorSDK12_4-12.4.1.1568665771-fixed.pkg' from '/var/folders/z3/p1mf40sj2qv9vh9v8fn8fl5w0000gn/T/x-provisioning-expanded-pkg'...
Installing '/var/folders/z3/p1mf40sj2qv9vh9v8fn8fl5w0000gn/T/x-provisioning/com.apple.pkg.iPhoneSimulatorSDK12_4-12.4.1.1568665771-fixed.pkg'...
Jun 9 11:01:55 installer[15270] <Debug>: Referenced component packages (1) trustLevel=100
Jun 9 11:01:55 installer[15270] <Debug>: -[IFPKGDerivedDocument sortedPackageLocations]: result = (
"file://localhost"
)
Jun 9 11:01:55 installer[15270] <Debug>: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
Jun 9 11:01:55 installer[15270] <Debug>: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/private/var/folders/z3/p1mf40sj2qv9vh9v8fn8fl5w0000gn/T/x-provisioning/com.apple.pkg.iPhoneSimulatorSDK12_4-12.4.1.1568665771-fixed.pkg
Jun 9 11:01:55 installer[15270] <Info>: Set authorization level to root for session
Jun 9 11:01:55 installer[15270] <Info>: Authorization is being checked, waiting until authorization arrives.
Jun 9 11:01:55 installer[15270] <Info>: Administrator authorization granted.
Jun 9 11:01:55 installer[15270] <Info>: Packages have been authorized for installation.
Jun 9 11:01:55 installer[15270] <Debug>: Will use PK session
Jun 9 11:01:55 installer[15270] <Debug>: Using authorization level of root for IFPKInstallElement
Jun 9 11:02:11 installer[15270] <Info>: Starting installation:
Jun 9 11:02:11 installer[15270] <Notice>: Configuring volume "Macintosh HD"
Jun 9 11:02:11 installer[15270] <Info>: Preparing disk for local booted install.
Jun 9 11:02:11 installer[15270] <Notice>: Free space on "Macintosh HD": 398.01 GB (398014599168 bytes).
Jun 9 11:02:11 installer[15270] <Notice>: Create temporary directory "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.15270llI83E"
Jun 9 11:02:11 installer[15270] <Notice>: IFPKInstallElement (1 packages)
Jun 9 11:02:11 installer[15270] <Info>: Current Path: /usr/sbin/installer
Jun 9 11:02:11 installer[15270] <Info>: Current Path: /usr/bin/sudo
Jun 9 11:02:11 installer[15270] <Notice>: PackageKit: Enqueuing install with framework-specified quality of service (utility)
Jun 9 11:03:34 installer[15270] <Debug>: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=120 "An unexpected error occurred while moving files to the final destination." UserInfo={NSUnderlyingError=0x6000001a84b0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}, NSLocalizedDescription=An unexpected error occurred while moving files to the final destination., arguments=(
"-f",
"-s",
"/Library/InstallerSandboxes/.PKInstallSandboxManager/1504666D-23E1-4A72-9939-33374D807114.activeSandbox/Root",
"/"
)}
Jun 9 11:03:34 installer[15270] <Error>: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
It doesn't look like we need to do this for Xcode 14.
IMHO we should still do it at some point though, so I'm moving to .NET 8.
Resolution: Do it for .NET 8
This is complete now.