Rolf Bjarne Kvinge
451d2dd71e
[AutomaticAssessmentConfiguration] Implement Xcode 16.0 beta 1, beta 2 and beta 3 changes. ( #20847 )
...
Note: there were no changes in beta 2 and beta 3.
2024-07-12 18:39:33 +02:00
Rolf Bjarne Kvinge
657a31408d
[xcode16] Merge main into xcode16. ( #20854 )
2024-07-11 11:49:31 +02:00
Rolf Bjarne Kvinge
eab3775392
[xcode16] Make the 'xcode16' branch the release branch for the 'xcode16' preview release. ( #20845 )
2024-07-10 18:38:18 +02:00
Rolf Bjarne Kvinge
49fad49fc4
[devops] Simplify logic to provision simulators. ( #20855 )
...
The system-dependencies.sh script has been updated to install latest and
older simulators separately, so --provision-simulators will only
provision the latest simulators (using 'xcodebuild -downloadPlatform...').
This works on all machines, for both PRs and non-PRs, so make it the
actual code path in both cases.
2024-07-10 18:13:37 +02:00
Rolf Bjarne Kvinge
12264008df
[xcode16] Merge main into xcode16.
2024-07-10 18:01:39 +02:00
Rolf Bjarne Kvinge
ed77cd6224
[dotnet] Limit custom dotnet/runtime selection to the current .NET version. ( #20840 )
...
This way any tests using the previous .NET version still works.
2024-07-10 16:30:34 +02:00
Rolf Bjarne Kvinge
72d87db71c
[Xcode16] Allow the runtime to compile with Xcode 16 beta 2. ( #20844 )
...
Add support for Xcode 16 beta 2.
---------
Co-authored-by: Manuel de la Pena Saenz <mandel@microsoft.com>
2024-07-10 13:00:51 +02:00
Rolf Bjarne Kvinge
7ddf1284a5
[dotnet] Force 'AppendRuntimeIdentifierToOutputPath=true' for the inner build of universal apps. ( #20839 )
...
When building universal apps, each inner build must add the runtime identifier to the output path, otherwise the inner builds may conflict with eachother, overwriting eachother's files.
That's bad.
So we explicitly set `AppendRuntimeIdentifierToOutputPath` to `true` when building inner builds.
2024-07-10 13:00:05 +02:00
Rolf Bjarne Kvinge
f2ae944988
[system-dependencies] Only download the simulators for platforms we target. ( #20842 )
...
In particular we don't need the visionOS simulator/platform.
2024-07-10 12:58:16 +02:00
Rolf Bjarne Kvinge
180a7e0bb9
[tests] Fix a couple of minor issues. ( #20843 )
...
* xtro: Fix how we build the u2todo project to actually build the correct project.
* Don't import eng/Versions.props in several test projects, it's already imported in a Directory.Build.props further up the directory hierarchy.
2024-07-10 12:57:30 +02:00
Rolf Bjarne Kvinge
f69a6d5e36
[xcode16] Make Xcode 16 beta 1 work. ( #20774 )
2024-07-10 00:07:19 +02:00
Rolf Bjarne Kvinge
886d48d015
Merge remote-tracking branch 'origin/xcode16' into dev/rolf/xcode16-rolf
2024-07-09 17:56:13 +02:00
Manuel de la Pena
6ac0fe15fc
[CI] Disable CodeQL for signing classic since it gives problems. ( #20834 )
2024-07-09 11:26:30 -04:00
Rolf Bjarne Kvinge
808fb1f115
[system-dependencies] Split simulator installation. ( #20837 )
...
Split installing new and old simulators, so that we can choose to only
install the old simulators if we want so.
And then only install the old simulators when we're doing beta builds,
because that's the only time we need them.
2024-07-09 17:03:13 +02:00
Rolf Bjarne Kvinge
4c5d826ad3
Update xtro.
2024-07-09 16:33:03 +02:00
Rolf Bjarne Kvinge
c81cb4aa77
[xtro] Move xtro-sharpie.csproj to its own directory. ( #20825 )
...
This will make it easier to eventually migrate this project to .NET.
2024-07-09 16:25:39 +02:00
Rolf Bjarne Kvinge
83e3951c37
[Darwin] Treat this code as a framework, which simplifies things a little bit. ( #20833 )
...
Also move the TimeSpec struct to its own file, this will be necessary
for Xcode 16.
2024-07-09 16:24:26 +02:00
Rolf Bjarne Kvinge
1520e0ebbc
[tests] Update 'KnownFrameworkReference' and 'KnownRuntimePack' to the reference the correct dotnet/runtime version when using a custom dotnet/runtime. ( #20838 )
2024-07-09 14:17:58 +02:00
Rolf Bjarne Kvinge
cbd00fd740
[devops] Bump macOS requirement to Sonoma for remote testing.
...
Xcode 15.3+ requires Sonoma.
2024-07-09 13:15:05 +02:00
Rolf Bjarne Kvinge
7a26aaeb63
Add Xcode 16 b1 todos.
2024-07-09 13:11:11 +02:00
Rolf Bjarne Kvinge
6b427362a2
[xtro] Remove todos for deprecated APIs.
2024-07-09 10:39:38 +02:00
Rolf Bjarne Kvinge
1f6eff4529
[xtro] Bump Objective-Sharpie.
...
Also disable Objective-C modules when using sharpie, because clang fails to
compile the headers when modules are enabled for some reason.
2024-07-09 10:34:40 +02:00
Rolf Bjarne Kvinge
9a9220658a
[devops] Provision older simulators for the tests.
...
This also involved bumping the older simulator versions to iOS/tvOS 15,
because that's the earliest that will run on macOS 14.
And that exposed a few missing availability attributes, so add those as well.
2024-07-09 10:22:50 +02:00
Rolf Bjarne Kvinge
c36628c001
[introspection] Add ignore for UITextLoupeSession's ctor.
2024-07-09 10:22:50 +02:00
Rolf Bjarne Kvinge
46fb027c3b
[CoreImage] Implement Xcode 16.0 beta 1 and beta 2 changes.
...
Note: there were no beta 2 changes.
2024-07-09 10:22:50 +02:00
Rolf Bjarne Kvinge
2340af0510
[introspection] Update exceptions for Xcode 16 beta 1.
2024-07-09 10:22:37 +02:00
Rolf Bjarne Kvinge
d5106e5dad
[AuthenticationServices] Add new protocol conformances in Xcode 16 beta 1
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
34a06c8d4e
[msbuild] Fix computing target device for tvOS.
...
Also use a tvOS storyboard (and not an iOS storyboard) for tvOS test projects (or
alternatively no storyboard at all, whenever that's possible).
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
88ebfde8fa
[tests] Adjust ProtocolTest to ignore any '?' attributes.
...
The '?' property attribute seems to be new in Xcode 16, and there's no
documentation about it, so ignore it.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
0384a291bf
[monotouch-test] Simplify CalendarTest to allow multiple values for EKCalendar.Immutable.
...
We don't really care about the value, and keeping track of whether the
calendar is immutable or not to assert the right value is time-consuming, so
just don't do that.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
e4bebf07d9
[tests] Implement Xcode 16 version check for TestRuntime.CheckXcodeVersion.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
093b31097c
[monotouch-test] Misc adjustment for Xcode 16 beta 1.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
33432692f1
[monotouch-test] Run AudioComponentTest.Validate in a background thread.
...
It hangs for me, which makes the entire test run hang if it happens on the main thread.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
30201b38ca
[UIKit] The default UIDocViewController constructor is unusable, so prevent any usage.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
b7d3e54f26
[mtouch] Don't pass -fembed-bitcode[-marker] to the compiler on later Xcode versions.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
464c7003f5
[tests] Ignore a watchOS test that makes clang crash.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
d1d7e74f1f
[tests] Skip the linker warning about -ld_classic going away in legacy Xamarin tests.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
29ad60906a
[monotouch-test] Adjust MonoTouchFixtures.HealthKit.CdaDocumentSampleTest to expect various exception messages.
...
Apple has flip-flopped between the two possible exception messages depending
on platform and OS version, and it's difficult and annoying to keep track.
So just don't: always accept either exception message. It doesn't really matter which one we get.s
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
bb1171fb03
[tests] Fix the GetMlaunchRunArguments test to not require an update on every OS bump.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
dedeeba42a
[system-dependencies] Split simulator installation.
...
Split installing new and old simulators, so that we can choose to only install
one of them if we so want.
This will effectively disable installing old simulators (because that's a
different option, which is not being enabled in this PR).
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
dd6ac5a680
[system-dependencies] Clean up processes a bit.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
1074e5814b
[siminstaller] Update to not require Xcode's Info.plist to have a DVTPlugInCompatibilityUUID entry.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
89dd543575
A bit more debug spew.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
1a14f3449b
Maybe not use sudo? Also a bit more logging output.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
7bc2ce830a
Bump maccore to get ADR fix.
...
New commits in xamarin/maccore:
* xamarin/maccore@be56c3f82e [apple-doc-reader] Add support for Xcode 16.
Diff: 05609a3441..be56c3f82e
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
f52171cbd8
[devops] Use the beta Xcode channel.
2024-07-09 10:22:36 +02:00
Rolf Bjarne Kvinge
fb4215105d
[tests] Update cecil-tests with known documentation failures.
2024-07-09 10:22:35 +02:00
Rolf Bjarne Kvinge
c2845a5226
[tools] Don't register any AssetsLibrary classes, the framework is deprecated and will be removed.
2024-07-09 10:22:35 +02:00
Rolf Bjarne Kvinge
fe7a7708c4
[UIKit] Remove NSTextAttachmentContainer from watchOS.
2024-07-09 10:22:35 +02:00
Rolf Bjarne Kvinge
4b5e6c9b2d
Xcode 16, here we come
2024-07-09 10:22:35 +02:00