Граф коммитов

5907 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge c63f238d84
[msbuild] Put all the MSBuild tests in the same namespace. (#15919)
I always have to look through all the namespaces to figure out where a
specific test is, so this simplifies things a bit.

It's also where the tasks themselves are headed at some point.
2022-09-12 11:34:45 +02:00
Rolf Bjarne Kvinge 68eb7d401f Merge remote-tracking branch 'origin/main' into bump-main-in-xcode14-2022-09-12 2022-09-12 11:27:02 +02:00
Rolf Bjarne Kvinge e84cca8cb6
[dotnet] Add binding templates for tvOS and macOS. Fixes #15839. (#15921)
Fixes https://github.com/xamarin/xamarin-macios/issues/15839.
2022-09-12 10:21:47 +02:00
Rolf Bjarne Kvinge 61e8ce443f
[tests] Skip SecRecord tests on macOS 11 (#15825)
It may hang on the bots.
2022-09-09 20:29:37 +02:00
Rolf Bjarne Kvinge 9bca30dce6 Merge remote-tracking branch 'origin/main' into bump-main-in-xcode14-2022-09-09 2022-09-09 16:54:19 +02:00
TJ Lambert 7717d9b42a
[CoreWLAN] Updates for Xcode14 beta 4 (#15856)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-09-08 16:30:51 -05:00
TJ Lambert de7dccd8b0
[AVKit and AVRouting] Updates for Xcode14 Beta3 (#15811)
This PR has the AVKit updates and introduces the AVRouting bindings that
are interconnected with AVKit

Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
Co-authored-by: tj_devel709 <antlambe@microsoft.com>
2022-09-08 15:13:15 -05:00
Israel Soto 504a7df47e
[LocalAuthentication] Add support for Xcode 14 b1-3 (#15873) 2022-09-08 15:16:37 -04:00
Manuel de la Pena 0eef1b6deb
[Network] Add support for Xcode 14 beta 6. (#15841)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
2022-09-08 10:55:52 -04:00
Rolf Bjarne Kvinge aa8ded8e51
[runtime] Store assemblies' MVID in the generated static registrar code. (#15795)
This will increase app size a little bit: the space for the MVID + 4 bytes for each
assembly, but we'll be able to validate and show a helpful error message if the generated
static registrar code does not match the assembly loaded at runtime.

It's also a step toward per-assembly static registration (ref: #12067).
2022-09-08 10:34:05 +02:00
Manuel de la Pena b99f35a800
[AuthenticationServices] Add support for Xcode 14 beta 4. (#15604)
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-09-07 11:11:34 -04:00
Rolf Bjarne Kvinge c5615ae77c
[CoreCLR] Handle ref/out enum values as parameters. Fixes #15744. (#15870)
CoreCLR complains that enum values aren't blittable when passed to
Marshal.StructureToPtr, so unwrap enum values first.

Fixes https://github.com/xamarin/xamarin-macios/issues/15744.
2022-09-07 12:57:06 +02:00
Rolf Bjarne Kvinge 62bc02760a
[msbuild] Compute _AppContainerDir from AppBundleDir if AppBundleDir is set by the developer. Fixes #15014. (#15869)
Fixes https://github.com/xamarin/xamarin-macios/issues/15014.
2022-09-07 11:33:39 +02:00
Rolf Bjarne Kvinge 433c48a35e Merge remote-tracking branch 'origin/main' into bump-main-in-xcode14-2022-09-07 2022-09-07 10:56:00 +02:00
Rolf Bjarne Kvinge 2415050767
[dotnet] Fix issue with frameworks with dots. Fixes #15727. (#15872)
Since executables in frameworks usually don't have dots, `%(Filename)` will be
the entire filename, because `%(Extension)` is empty. However, if the
executable happens to have a dot, then we need to include the extension:
`%(Filename)%(Extension)`.

Fixes https://github.com/xamarin/xamarin-macios/issues/15727.
2022-09-07 10:43:33 +02:00
Rolf Bjarne Kvinge 95d728304b
[msbuild] Add additional app extensions to the list of items we need to sign. Fixes #15598. (#15829)
* Add additional app extensions to the list of items we need to sign.
* Improve msbuild test for additional app extensions:
    * Build for both device and simulator.
    * Hopefully fix the signing problems that occurred on the bots last time we tried.
    * Assert that both the container and extension are signed during the build when we build for device.

A 10-line fix with 3300 lines of tests...

Fixes https://github.com/xamarin/xamarin-macios/issues/15598.
2022-09-07 10:39:05 +02:00
TJ Lambert fe9c46cc91
[NearbyInteraction] Updates for Xcode14 Beta 1 (#15840)
Co-authored-by: tj_devel709 <antlambe@microsoft.com>
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-09-06 16:11:52 -04:00
Israel Soto a869ea01c0
[ExtensionKit] Add support for Xcode 14 beta 1 & 2 (#15548) 2022-09-06 12:02:25 -04:00
Chris Hamons 2f6b916b14
[photos][photosui] Xcode 14 Beta 1-4 (#15608)
Co-authored-by: Alex Soto <alex@alexsoto.me>
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-09-06 09:52:45 -05:00
Rolf Bjarne Kvinge 4cc0bde648
[tests] Introspection needs more time on older macOS bots. (#15862) 2022-09-06 14:05:11 +02:00
Rolf Bjarne Kvinge d1ef85446d
Misc fixes to make the build more silent. (#15852) 2022-09-05 10:55:41 +02:00
Rolf Bjarne Kvinge 61d5fcd3f8
[tests] Convert spaces to tabs in numerous test projects. (#15855)
This is changing whitespace only: https://github.com/xamarin/xamarin-macios/pull/15855/files?w=1
2022-09-05 10:54:33 +02:00
Manuel de la Pena 431e578ae9
[NetworkExtensions] Add support for Xcode 14 beta 6. (#15847)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-09-02 17:27:49 -04:00
TJ Lambert 9d6271fb5f
[PdfKit] Update bindings for Xcode 14 beta 5 (#15628)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
Co-authored-by: tj_devel709 <antlambe@microsoft.com>
2022-09-02 14:08:26 -05:00
Manuel de la Pena ae42d556fe
[ShareWithYou] Add support for Xcode 14 beta 6. (#15819)
Co-authored-by: Alex Soto <alex@alexsoto.me>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
2022-09-02 10:46:52 -04:00
Chris Hamons e43e05c298
[CoreGraphics] Xcode 14 Beta 1-5 (#15831)
**Note:** This PR is almost entirely of manual (but simple) bindings, and the documentation of these CG methods is non-existent. I had to add add MarshalAs and change pointers to IntPtr by hand, so please review carefully. 

I wrote "did not crash/return null" manual tests, which I could improve upon if desired, but I'd have to re-learn some matrix math and figure out what each method does under the hood (Alex thought this would likely be fine).

A few important notes:

- CGAffineTransformComponents is in CoreFoundation as it was defined (but not used) in those API diffs. There is a define `CF_DEFINES_CGAFFINETRANSFORMCOMPONENTS` which allows CoreGraphics to declare it in the headers, but I'm assuming that is a hack for Apple.
- The headers/docs for kCGColorSpaceITUR_709_HLG lie and claim it's in older OS than it seems to be, so I assumed latest instead.

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-09-02 09:24:35 -05:00
Rolf Bjarne Kvinge 75112818b6
[runtime] Use a custom native -> managed trampoline for calling NSObject.InvokeConformsToProtocol from the generated static registrar code. (#15830)
This avoids one case where we we embed metadata tokens to a different assembly
in the generated static registrar code.

This is required for supporting per-assembly static registration
(https://github.com/xamarin/xamarin-macios/issues/12067).
2022-09-02 15:54:34 +02:00
Chris Hamons 217004099d
[CoreVideo] Xcode 14 Beta 1-5 (#15833) 2022-09-01 16:10:29 -05:00
TJ Lambert 7bd98383e1
[HealthKit] Update bindings for Xcode 14 beta 1-4 (#15612)
This one has been a toughy 😮‍💨
@mandel-macaque I am creating the draft PR and here is a gist with the MacModern failures that you mentioned you would take a closer look at: https://gist.github.com/tj-devel709/24f5c63d4b698a0e2387524a0d2666c6

There were also monotouch-test failures that seem to be related to enabling mac that I could use some help with as well.

Lastly, @chamons there was a failing Cecil test regarding ios in DidGenerateEvent method found here: https://gist.github.com/tj-devel709/2c8aee7325c0c2751e29269d3eb77fef. I did not touch this method so I am not sure why this would be a problem.
Here is the Cecil failure: https://gist.github.com/tj-devel709/cfb2576c75de2ee100a8f2b7ee6e3923

Thanks for the help!

Edit *: Issues mentioned in the code comments
https://github.com/xamarin/maccore/issues/2609
https://github.com/xamarin/maccore/issues/2610

Co-authored-by: tj_devel709 <antlambe@microsoft.com>
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-09-01 10:24:35 -05:00
Israel Soto ea1573338d
[WebKit] Added missing properties related to UIKit (#15818)
Fixes #15526
2022-08-31 16:25:11 -04:00
Chris Hamons 58fedd1b03
[CoreFoundation] Add deprecation and ignores for Xcode 14 Beta 1-5 (#15799) 2022-08-31 15:11:52 -05:00
Chris Hamons 532ad02c6b
[AppKit] Xcode 14 Beta 1-5 (#15778)
Co-authored-by: Alex Soto <alex@alexsoto.me>
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-08-31 15:08:57 -05:00
Haritha Mohan a2b23186cc
[UIKit] Add Preferred Content Size Wrapper (#15800)
Fixes xamarin/xamarin-macios#15687
Added type safe wrapper for ContentSizeCategory

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
2022-08-31 13:05:51 -07:00
TJ Lambert aae74febb3
[FileProvider] Update for Xcode14 binding (#15790)
I introduced a breaking change to the FileProvider Xcode14 binding from adding a new abstract method to the NSFileProviderPendingSetEnumerator protocol. Instead, add this method to be a Xamcore_5_0 addition.

PR where issue was introduced found here: https://github.com/xamarin/xamarin-macios/pull/15777#issuecomment-1228664877

Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-08-31 12:00:32 -05:00
TJ Lambert 6b5364f04e
[GameController] Update bindings for Xcode 14 beta 1-5 (#15692)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-08-31 11:57:58 -05:00
Rolf Bjarne Kvinge ff3aeb5073 Merge remote-tracking branch 'origin/main' into bump-main-in-xcode14-2022-08-30 2022-08-30 11:14:47 +02:00
Rolf Bjarne Kvinge c4a34b4451
[tests] Allow setting CONFIG to specify the Configuration to build. (#15793)
Allow setting CONFIG to specify the Configuration to build when building .NET
test apps from the command line.
2022-08-30 09:29:52 +02:00
Rolf Bjarne Kvinge 5e8d70f95e
[tests] Improve detection of bad CI networks. (#15516) 2022-08-29 15:42:40 +02:00
Rolf Bjarne Kvinge 5ca5a963bc
[tests] Improve handling timed out macOS tests. (#15747) 2022-08-29 12:06:25 +02:00
Rolf Bjarne Kvinge b9a60c4d7e
[msbuild] Remove the Xamarin.*.Task.Core assemblies. (#15768)
We used to do the following:

1. Have abstract task classes in the Xamarin.*.Task.Core assembly (with all
   the actual code for the task in question to work properly on macOS).
2. Subclassed task in the Xamarin.*.Task assembly, which did nothing.
3. On Windows we'd inject a different Xamarin.*.Task assembly, with
   Windows-specific overrides for the implementation in the abstract base
   class.

However, we no longer do point 3, which means that we no longer need to split
our tasks across two assemblies.

This means that we can remove the Xamarin.\*.Task.Core assemblies, and move all
the code into the corresponding Xamarin.\*.Task assembly instead.

This simplifies our code and speeds up the build.

There are more simplifications that can be done; those will come in later PRs.
2022-08-29 11:59:28 +02:00
Manuel de la Pena 8cecb962a4
[UIKit] Add support for Xcode 14 up to beta 5. (#15694)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-08-26 20:14:11 -04:00
Israel Soto 76e395bcfb
[MetricKit] Added support for Xcode 14 beta 1 & 3 (#15629)
Co-authored-by: Alex Soto <alex@alexsoto.me>
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
2022-08-26 18:25:46 -04:00
Rolf Bjarne Kvinge 4b63786dac
Merge main into xcode14. (#15782) 2022-08-26 18:37:10 +02:00
Manuel de la Pena 9c7d569644
[Intents] Add support for Xcode 14 beta 5. (#15703)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-08-26 10:45:55 -04:00
Manuel de la Pena e95ae331e3
[Mediaplayer] Add support for xcode14 beta 4. (#15654)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-08-26 10:38:21 -04:00
TJ Lambert 9309bf2f9d
[FileProvider] Updates for Xcode14 beta4 (#15777)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-08-26 08:48:18 -05:00
TJ Lambert aad82206ba
[ImageIO] Updates for Xcode14 Beta 3 (#15779)
Co-authored-by: tj_devel709 <antlambe@microsoft.com>
2022-08-26 08:37:01 -04:00
Rolf Bjarne Kvinge a7690ee03b
[tests] Add global imports to the .NET unit tests to simplify code. (#15770) 2022-08-26 13:40:12 +02:00
Rolf Bjarne Kvinge 4289148b28 Merge remote-tracking branch 'origin/main' into bump-main-in-xcode14-2022-08-26 2022-08-26 13:24:27 +02:00
Rolf Bjarne Kvinge 408cd7ac52
[msbuild] Automatically detect any Entitlements.plist files in the root project in .NET. (#15729)
Also provide a way out by setting EnableDefaultCodesignEntitlements=false.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1595888.
2022-08-26 08:06:48 +02:00
Israel Soto 7722132acb
[WebKit] Apple fixed issue #15593 (#15717) 2022-08-25 14:21:42 -04:00
TJ Lambert fb59f9d604
[IdentityLookup] Updates for Xcode14 beta1 (#15740)
Co-authored-by: tj_devel709 <antlambe@microsoft.com>
2022-08-25 12:44:27 -05:00
TJ Lambert 14d73a3048
[NaturalLanguage] Updates for Xcode14 Beta 2 (#15718)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-08-25 12:42:34 -05:00
Manuel de la Pena 553ed97f1a
[IntentsUI] Add support for Xcode 14 beta 5. (#15704)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-08-25 12:10:10 -04:00
Manuel de la Pena 3f992daa20
[PencilKit] Added support for Xcode 14 beta 5. (#15702)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-08-25 11:12:28 -04:00
Rolf Bjarne Kvinge 454e19b957
[tests] Ignore any NuGet failures in PackageReferenceTests.SatellitesFromNuget. Fixes #xamarin/maccore@2612. (#15763)
NuGet seems to struggle with the network on the bots for this particular test,
so ignore the test if there are any nuget failures.

Fixes https://github.com/xamarin/maccore/issues/2612.
2022-08-25 16:46:08 +02:00
Rolf Bjarne Kvinge e372914ce0
[tests] Adjust MonoTouchFixtures.SceneKit.Invert to cope with tiny expected differences. (#15750)
This seems to happen on macOS 10.15 only for some reason.
2022-08-25 16:24:30 +02:00
Manuel de la Pena 52cb5066f4
[VideoSubscriberAccount] Update API to support Xcode 14 beta 5. (#15699)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-08-25 09:59:38 -04:00
TJ Lambert fb9964e0cf
[AutomaticAssessmentConfiguration] Updates for Xcode14 Beta5 (#15742)
Co-authored-by: tj_devel709 <antlambe@microsoft.com>
2022-08-24 12:26:02 -05:00
Rolf Bjarne Kvinge afeebed06b
Bump xharness. (#15738)
Bump xharness to get fix for determining whether a test has started or not:
1809c14bb7
2022-08-24 19:12:36 +02:00
Manuel de la Pena ceab219d85
[IOSurface] Add support for Xcode 14 beta 5. (#15706) 2022-08-23 21:22:13 -04:00
Manuel de la Pena 638655093c
[WebKit] Add support for Xcode 14 beta 5. (#15700)
* [WebKit] Add support for Xcode 14 beta 5.

* Clean changes.

* Update src/wkwebkit.cs

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-08-23 20:30:57 -04:00
dotnet-maestro[bot] 33172248c6
[main] Update dependencies from dotnet/runtime (#15586)
* Update dependencies from https://github.com/dotnet/runtime build 20220727.6

Microsoft.NETCore.App.Ref
 From Version 6.0.8 -> To Version 6.0.8

* Update dependencies from https://github.com/dotnet/runtime build 20220727.6

Microsoft.NETCore.App.Ref
 From Version 6.0.8 -> To Version 6.0.8

* Update dependencies from https://github.com/dotnet/runtime build 20220813.7

Microsoft.NETCore.App.Ref
 From Version 6.0.8 -> To Version 6.0.9

Dependency coherency updates

Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
 From Version 6.0.4 -> To Version 6.0.8 (parent: Microsoft.NETCore.App.Ref

* Update dependencies from https://github.com/dotnet/runtime build 20220815.11

Microsoft.NETCore.App.Ref
 From Version 6.0.8 -> To Version 6.0.9

Dependency coherency updates

Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
 From Version 6.0.4 -> To Version 6.0.9 (parent: Microsoft.NETCore.App.Ref

* Update dependencies from https://github.com/dotnet/runtime build 20220816.8

Microsoft.NETCore.App.Ref
 From Version 6.0.8 -> To Version 6.0.9

Dependency coherency updates

Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
 From Version 6.0.4 -> To Version 6.0.9 (parent: Microsoft.NETCore.App.Ref

* Update dependencies from https://github.com/dotnet/runtime build 20220819.3

Microsoft.NETCore.App.Ref
 From Version 6.0.8 -> To Version 6.0.9

Dependency coherency updates

Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
 From Version 6.0.4 -> To Version 6.0.9 (parent: Microsoft.NETCore.App.Ref

* [tests] Adjust InvalidRuntimeIdentifier_Restore to expect failure for Mac Catalyst.

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-08-23 15:03:30 +02:00
Rolf Bjarne Kvinge d66c4da1af Merge remote-tracking branch 'origin/main' into xcode14-merge-main-2022-08-22 2022-08-22 18:38:32 +02:00
TJ Lambert b3d56a738f
[ModelIO] Updates for Xcode 14 beta1 (#15715)
* add deprecation

* remove from todo

Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-08-22 08:08:02 -05:00
TJ Lambert e4d9b23a43
[iTunesLibrary] Update Xcode 14 beta 5 (#15705)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-08-19 10:09:43 -05:00
TJ Lambert 772ede3042
[CoreSpotlight] Updates for Xcode14 Beta 5 (#15701)
Co-authored-by: tj_devel709 <antlambe@microsoft.com>
2022-08-19 10:07:02 -05:00
Marius Ungureanu 4b86732da5
Nullability annotations on NSUrl (#15356)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-08-19 14:56:55 +02:00
Rolf Bjarne Kvinge 6f2a34c1d7
[tests] Improve output when writing log events in test logs. (#15688) 2022-08-18 17:25:10 +02:00
Rolf Bjarne Kvinge e54019a336
[dotnet] Make it possible to specify the registrar using a 'Registrar' property in MSBuild. (#15483)
Co-authored-by: Marius Ungureanu <therzok@gmail.com>
2022-08-18 17:21:48 +02:00
TJ Lambert b6ece9e175
[PassKit] Update bindings for Xcode 14 beta 1-5 (#15613)
* Starting Xcode14 changes for PassKit Beta 123

* use protocol correctly, ignore conformance

* make suggested changes

* add the abstract to the ignore files

* removing disabledefaultctor

* remove empty todo files

* use manual file for same type constructors and beta changes

* adjust apiselector test

Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-08-12 15:17:55 -05:00
Chris Hamons 2705912adf
[coreimage] Xcode 14 Beta 1-4 (#15661)
* [coreimage] Xcode 14 Beta 1-4

* Add issue link

* Correct new abstract on existing protocols
2022-08-10 11:48:03 -04:00
Alex Soto 1d40aa42dd
[xcode14] Bump to latest Xcode 14 Beta 5 (#15663)
* [xcode14] Bump to latest Xcode 14 Beta 5

* [CloudKit] Fix cloudkit intro on tvOS

* Revert "[Tests] Fix an monotouch-test test that landed broken. (#15503)"

This reverts commit 161de84bcf.

* Update tools/common/StaticRegistrar.cs

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>

* Fix typo

* [CHIP] Tell our drivers to not link CHIP at all

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-08-10 11:11:40 -04:00
Manuel de la Pena 3962f6cb34
[SharedWithYouCore] Add new framework for xcode14. (#15634) 2022-08-08 19:41:32 -04:00
Israel Soto 7bc9bc5038
[EventKit] Add support for Xcode 14 beta 1 (#15542)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-08-08 10:36:32 -04:00
Israel Soto 145468ea1b
[PushKit] Added support for Xcode 14 (#15637) 2022-08-08 10:34:29 -04:00
Israel Soto cbb1b861ec
[MessageUI] Added support for Xcode 14 beta 1 & 2 (#15652) 2022-08-08 10:33:04 -04:00
Manuel de la Pena d9cd069f07
[BackgroundAssets] Add new framework from Xcode1 4 beta 4. (#15649)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-08-08 09:38:56 -04:00
Manuel de la Pena f35cc9b590
[ScreeCaptureKit] Add support for Xcode 14 beta 4. (#15647) 2022-08-08 09:37:12 -04:00
Manuel de la Pena ee9751be14
[SafariServices] Add support for Xcode14 upt to beta 4. (#15635) 2022-08-08 09:35:11 -04:00
Manuel de la Pena a0e0e94afd
[RoomPlan] Update xtro. (#15644) 2022-08-07 14:09:14 -04:00
Manuel de la Pena d02dd49235
[PushToTalk] Add new framework for Xcode 14 bet4. (#15645)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-08-07 14:07:21 -04:00
Manuel de la Pena d80759cbbe
[HomeKit] Update for Xcode 14 beta 4. (#15650) 2022-08-07 14:00:37 -04:00
Manuel de la Pena 29e48e56cf
[Xtro] Update xtro after GameKit. (#15625)
We had a mismatch between what was tested and what was compiled which
resulted in us missing this.
2022-08-07 13:51:13 -04:00
Manuel de la Pena 7749b91153
[DeviceCheck] Add support for Xcode 14 beta 4. (#15639) 2022-08-05 11:51:11 -04:00
Manuel de la Pena 448f3e5f6d
[PHASE] Add support for xcode14 beta 4. (#15638) 2022-08-05 11:47:56 -04:00
Manuel de la Pena 839894852d
[Speed] Add support Xcode14 beta 1, 2, 3 and 4 (#15627) 2022-08-05 08:48:55 -04:00
Manuel de la Pena 94d9e322cd
[SpriteKit] Add support for Xcode 14 beta 1, 2, 3, 4 (#15626) 2022-08-05 08:29:36 -04:00
Israel Soto f850a20d4c
[WebKit] Add support for Xcode 14 beta 1, 2 & 3 (#15525)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-08-04 17:05:35 -04:00
Manuel de la Pena 3609d5145a
[CoreSpotlight] Add support for Xcode 14 beta 4. (#15605) 2022-08-03 17:30:01 -04:00
Manuel de la Pena 4ae1b19e7d
[GameKit] Update binding for xcode 14 beta 4. (#15607) 2022-08-03 17:29:19 -04:00
Manuel de la Pena 7157ac41a7
[Xcode14] Merge main into xcode14 2022-08-03 17:17:30 -04:00
Manuel de la Pena 7be1d8322c
[CoreText] Update binding for xcode 14 beta 4. (#15606) 2022-08-03 10:45:48 -04:00
Manuel de la Pena 1481fd8cc5
[StoreKit] Update bindings for Xcode 14 beta 1, 2, 3 & 4 (#15609) 2022-08-03 10:44:24 -04:00
Manuel de la Pena 57adecc437 Merge branch 'main' into xcode14-merge-main 2022-08-03 10:34:56 -04:00
TJ Lambert c8c55ff01a
[ShazamKit] Update bindings for Xcode 14.0 beta 1&2&3&4 (#15539)
Co-authored-by: tj_devel709 <antlambe@microsoft.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-08-02 11:46:00 -05:00
Chris Hamons 3c359f5838
[foundation] Xcode 13 & Xcode 14 beta 1-3 bindings (#15579)
- Xcode 13 section Based upon https://github.com/xamarin/xamarin-macios/pull/13328- 
- Some disabled due to https://github.com/xamarin/maccore/issues/2608
2022-08-01 10:22:39 -05:00
Chris Hamons 4276c90260
[xcode14] Bump to beta 4 (#15584)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-07-29 12:34:27 -05:00
Manuel de la Pena 7bc1d607b8
[Xcode14] Add missing availability on dotnet. fixes #2607 (#15578)
Add missint attrs to fix https://github.com/xamarin/maccore/issues/2607
2022-07-27 10:15:44 -04:00
Manuel de la Pena b6488fc7ae
[Xcode14] Bring main to xcode14. 2022-07-26 17:14:57 -04:00
Rolf Bjarne Kvinge e18fe5a015
[tests] Don't include ErrorHelper.cs nor error.cs in Xamarin.MacDev.Tasks.Tests. (#15518)
Fixes these compiler warnings:

    xamarin-macios/src/ObjCRuntime/ErrorHelper.cs(22,17): warning CS0436: The type 'ProductException' in 'xamarin-macios/tests/msbuild/Xamarin.MacDev.Tasks.Tests/../../../tools/common/error.cs' conflicts with the imported type 'ProductException' in 'Xamarin.iOS.Tasks, Version=15.11.0.465, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. Using the type defined in 'xamarin-macios/tests/msbuild/Xamarin.MacDev.Tasks.Tests/../../../tools/common/error.cs'. [xamarin-macios/tests/msbuild/Xamarin.MacDev.Tasks.Tests/Xamarin.MacDev.Tasks.Tests.csproj]
    xamarin-macios/tools/common/error.cs(10,34): warning CS0436: The type 'ErrorHelper' in 'xamarin-macios/tests/msbuild/Xamarin.MacDev.Tasks.Tests/../../common/ErrorHelper.tests.cs' conflicts with the imported type 'ErrorHelper' in 'Xamarin.iOS.Tasks, Version=15.11.0.465, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. Using the type defined in 'xamarin-macios/tests/msbuild/Xamarin.MacDev.Tasks.Tests/../../common/ErrorHelper.tests.cs'. [xamarin-macios/tests/msbuild/Xamarin.MacDev.Tasks.Tests/Xamarin.MacDev.Tasks.Tests.csproj]
2022-07-26 11:42:44 -04:00
Manuel de la Pena af04116098
[TVServices] Add support for Xcode 14 beta 1, 2 & 3 (#15553) 2022-07-26 11:41:36 -04:00
Manuel de la Pena 7a3729f94b
[VideoSubscriptionAccount] Add support for Xcode 14 beta 1,2 & 3 (#15541) 2022-07-26 11:41:06 -04:00
TJ Lambert 481e3ec53a
[Fix] Reorder the enum to the correct order (#15540)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-07-26 11:40:12 -04:00
TJ Lambert 08ea6148ec
[GameKit] Update bindings for Xcode 14.0 beta 1&2 (#15557)
Co-authored-by: tj_devel709 <antlambe@microsoft.com>
2022-07-26 11:39:07 -04:00
TJ Lambert ffcdcc1e3b
[CloudKit] Update bindings for Xcode 14 beta 1and2 (#15546)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-07-26 11:35:58 -04:00
Manuel de la Pena 4c4b906bc4 [Xcode14] Merge main into xcode14. 2022-07-26 11:15:34 -04:00
Chris Hamons ca8e5cb068
[tests] Fix MonoNativeFunctionWrapper/MonoPInvokeCallback to report specific errors (#15572)
- Both tests directly asserted there were no errors, and tried to print results from an unused 'failed_api' variable.
- However, details were being written via `ReportError` in the base class's 'error_output' that was not being printed
- AssertIfErrors on the base class prints that, and asserts that there are no errors so it works for both these cases

I checked the other tests that asserted against 0 errors, and they all seems to have valid test data to report, and thus appear fine.
2022-07-26 09:56:55 -05:00
Manuel de la Pena ab7502cc54
[ThreadNetwork] Add support for Xcode 14 beta 1, 2 & 3 (#15555) 2022-07-20 08:27:28 -04:00
VS MobileTools Engineering Service 2 9dae657569
[Xtro] Ensure that when we do auto sanitize we do not return a fail. (#15552)
When working on the bindings we can use the "AUTO_SANITIZE" env var to
let xtro know that we want the lines that have been fixed to be removed,
unfortunatly this mode has a bug. When we autosanitized we should do the
same as the skip and not return the lines that have been cleaned as the
return code.

Returning the error code meant that when we did make all, the
first target (classic) would work, but the second target would not
because the first one failed.

Doing this allows to work on the bindings and have AUTO_SANITIZE work
both for classic and dotnet when doing make all.

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-07-20 08:26:22 -04:00
Manuel de la Pena 0a1437aac1
[Xtro] Ensure that when we do auto sanitize we do not return a fail. (#15551)
When working on the bindings we can use the "AUTO_SANITIZE" env var to
let xtro know that we want the lines that have been fixed to be removed,
unfortunatly this mode has a bug. When we autosanitized we should do the
same as the skip and not return the lines that have been cleaned as the
return code.

Returning the error code meant that when we did make all, the
first target (classic) would work, but the second target would not
because the first one failed.

Doing this allows to work on the bindings and have AUTO_SANITIZE work
both for classic and dotnet when doing make all.
2022-07-20 08:26:01 -04:00
Manuel de la Pena aaa2640a0f
[UniformTypeIdentifiers] Add support for Xcode 14 beta 1, 2 & 3 (#15550) 2022-07-20 08:25:36 -04:00
Manuel de la Pena 3781590723
[UserNotitications] Add support for Xcode 14 beta 1,2 & 3 (#15544) 2022-07-20 08:23:57 -04:00
Manuel de la Pena 5814da5497
[Xtro] Clean file that was missed due to xtro bug. (#15554)
Issue for fixed in https://github.com/xamarin/xamarin-macios/pull/15552
2022-07-19 20:14:48 -04:00
Manuel de la Pena b978393303
[Vision] Add support for Xcode 14 beta 1,2 & 3 (#15538)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-07-19 14:44:11 -04:00
Manuel de la Pena 27269679ea
[CoreText] Add support for Xcode 14 beta 1,2 & 3 (#15534) 2022-07-19 11:53:06 -04:00
Manuel de la Pena bdf84913cf
[CoreSpotlight] Add support for Xcode 14 beta 1,2 & 3 (#15532)
Co-authored-by: Alex Soto <alex@alexsoto.me>
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
2022-07-19 11:38:55 -04:00
Manuel de la Pena 6d47b64ce5
[WatchKit] Add support for Xcode 14 beta 1,2 & 3 (#15535) 2022-07-19 11:18:41 -04:00
Manuel de la Pena cc6ba02a14
[CoreTelephony] Add support for Xcode 14 beta 1,2 & 3 (#15533) 2022-07-18 11:14:11 -04:00
Manuel de la Pena 35b7a2c3f0
[CoreNFC] Add support for Xcode 14 beta 1,2 & 3 (#15528) 2022-07-18 11:13:10 -04:00
Manuel de la Pena 28541dc88f
[CoreHaptics] Add support for Xcode 14 beta 1,2, & 3 (#15523)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-07-18 11:11:27 -04:00
Manuel de la Pena ee22179ce5
[CoreMedia] Add support for xcode 14 beta 1,2 & 3 (#15524) 2022-07-17 21:48:06 -04:00
Manuel de la Pena 2ece28e758
[CoreML] Add support for xcode 14 beta 1, 2 & 3 (#15527)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-07-17 21:09:43 -04:00
Manuel de la Pena d38b374b29
[CoreAudioKit] Add support for Xcode 14 beta 1 & 2 (#15418) 2022-07-15 11:28:45 -04:00
Manuel de la Pena c5bd8bd4b1
[ClockKit] Add support for Xcode 14 beta 1 & 2. (#15417)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-07-15 11:24:07 -04:00
Manuel de la Pena 161de84bcf
[Tests] Fix an monotouch-test test that landed broken. (#15503) 2022-07-15 11:18:01 -04:00
Rolf Bjarne Kvinge 16f14a965e
[tests] Only include enabled platforms in the FrameworksInRuntimeNativeDirectory nupkg. (#15501) 2022-07-15 10:27:26 +02:00
Rolf Bjarne Kvinge 12925a7952
[xcode14] Merge main into xcode14. (#15502)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
2022-07-15 10:22:11 +02:00
Manuel de la Pena a75ebdb844
[CoreBluetooth] Add support for Xcode 14 beta 1 & 2. (#15419) 2022-07-14 15:42:46 -04:00
Rolf Bjarne Kvinge 72c065cd80
[msbuild] Unify the CompileAppManifest task logic between iOS and Mac. (#15474) 2022-07-14 16:20:56 +02:00
Manuel de la Pena 80f1ac40f8
[Xcode14] Bump xcode 14 to beta 3. (#15420)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-07-13 15:48:14 -04:00
Manuel de la Pena 5f462a16e8
[xcode14] Merge main into xcode14. 2022-07-13 10:25:02 -04:00
Rolf Bjarne Kvinge c55fbdfef9
[xharness] Collect and upload any crash reports that occurred during the entire test run. (#15466) 2022-07-13 15:16:11 +02:00
Rolf Bjarne Kvinge 423002bc95
[tests] Be explicit about parameters when looking for the Class.FindType method. (#15431)
This makes sure that adding FindType overloads won't break the tests.
2022-07-13 10:59:54 +02:00
Rolf Bjarne Kvinge bc23ece1fc
[monotouch-test] Improve MonoTouchFixtures.ObjCRuntime.ToggleRefRetainDeadlockTest to get a native stack trace upon failure. (#15476) 2022-07-13 10:40:33 +02:00
Rolf Bjarne Kvinge 5c7f866e37
Revert workarounds for broken dlopen in Xcode 14 beta 1. Fixes #15231. (#15383)
Fixes https://github.com/xamarin/xamarin-macios/issues/15231.

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-07-12 17:44:28 +02:00
Rolf Bjarne Kvinge f8ff530796 Merge remote-tracking branch 'origin/main' into xcode14-merge-main-2022-07-12 2022-07-12 14:52:32 +02:00
Rolf Bjarne Kvinge f7772d4705
[dotnet] Accept invalid runtime identifiers for Restore. (#15357) 2022-07-12 09:37:01 +02:00
Rolf Bjarne Kvinge d251b69ae7
[generator] Don't use culture-aware API. (#15392)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-07-11 19:59:36 +02:00
Rolf Bjarne Kvinge 7ad3f2b740
Bump xharness. (#15423)
Bump xharness to get TCC fix:

53594edb70
2022-07-11 19:55:56 +02:00
Rolf Bjarne Kvinge e85d9f8619
[tests] Update tests to find nunit.framework.dll in our own local package folder. (#15422)
Fixes these test failures:

    Xamarin.MTouch.FastDev_LinkAll(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkAll(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkAll_Then_NoLink(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkAll_Then_NoLink(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkSDK(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkSDK(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkWithTest(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_LinkWithTest(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoFastSim_LinkAll(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoFastSim_LinkAll(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoFastSim_LinkSDK(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoFastSim_LinkSDK(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoFastSim_NoLink(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoFastSim_NoLink(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoLink(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_NoLink(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_Sim(iOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.FastDev_Sim(tvOS): System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
    Xamarin.MTouch.RebuildWhenReferenceSymbolsInCode: System.IO.FileNotFoundException : Could not find nunit.framework.dll in /Users/builder/.nuget/packages/nunit/3.12.0/lib/netstandard2.0/nunit.framework.dll. Has the version changed?
2022-07-11 19:55:26 +02:00
Rolf Bjarne Kvinge 840d2e9115
[msbuild] Remove code for watchOS 1 extensions, which we no longer support. (#15327) 2022-07-11 10:54:19 +02:00
Manuel de la Pena 5b3c844ba9
[CallKit] Add support for Xcode beta 1 & 2. (#15411)
* [CallKit] Add support for Xcode beta 1 & 2.

* Do not add catalyst 13.0 since it is not needed.

* Fix wrongly added types to watchOS.
2022-07-08 11:20:08 -04:00
Manuel de la Pena 111f37fda3
[CarPlay] Add support for Xcode 14 beta 1&2. (#15403) 2022-07-07 15:59:39 -04:00
Manuel de la Pena 60318aab2c
[ARKit] Add support for Xcode 14 beta 1 & 2 (#15408) 2022-07-07 10:00:10 -04:00
Rolf Bjarne Kvinge ef0c801f8e Bump xharness.
Bump xharness to get TCC fix:

53594edb70
2022-06-29 14:17:29 +02:00
Rolf Bjarne Kvinge 330ddae9ba [introspection] A few fixes for watchOS. 2022-06-29 13:30:53 +02:00
Manuel de la Pena eee31cb3fa
Should be || not && (#15367) 2022-06-28 20:29:40 -04:00
Rolf Bjarne Kvinge 50db0e315e [monotouch-test] Adjust a few tests according to new behavior. 2022-06-28 22:20:45 +02:00
Rolf Bjarne Kvinge 24db3eca11 [monotouch-test] Adjust a ShouldAutorotate test to cope with Apple dropping support for 'shouldAutorotate'. 2022-06-28 22:20:22 +02:00