-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[xcode13.3] Bring Xcode 13.3 support #14325
Conversation
Ignoring CHIP framework for now since it is not stable just yet and we want to avoid breaking changes in the future.
We can update it once xamarin#14303 lands
❌ [PR Build] Tests didn't execute on Build. ❌Tests didn't execute on Build. API diff✅ API Diff from stable View dotnet API diffView dotnet legacy API diffView dotnet iOS-MacCatalayst API diff
API Current PR diffView dotnet API diffView dotnet legacy API diffView dotnet iOS-MacCatalayst API diff
GitHub pagesResults can be found in the following github pages (it might take some time to publish): No test summary was found (something probably failed before the tests could execute) |
1 similar comment
❌ [PR Build] Tests didn't execute on Build. ❌Tests didn't execute on Build. API diff✅ API Diff from stable View dotnet API diffView dotnet legacy API diffView dotnet iOS-MacCatalayst API diff
API Current PR diffView dotnet API diffView dotnet legacy API diffView dotnet iOS-MacCatalayst API diff
GitHub pagesResults can be found in the following github pages (it might take some time to publish): No test summary was found (something probably failed before the tests could execute) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, only missing tests for the manual bindings :)
@@ -48,6 +48,7 @@ | |||
<string>14.5</string> | |||
<string>15.0</string> | |||
<string>15.2</string> | |||
<string>15.4</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happened to 15.3?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea, what is shipped on Xcode 13.3 is 15.4 I wonder if they are moving to even numbers releases just like us, it seems that there is not 15.1 either heh
if (values is null) | ||
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (values)); | ||
if (values.Length > DiscretePositionCount) | ||
throw new ArgumentException ($"The '{nameof (values)}' array length can't be greater than {DiscretePositionCount}."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can it be less that DiscretePositionCount?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ [PR Build] Tests failed on Build ❌Tests failed on Build. API diff✅ API Diff from stable View dotnet API diffView dotnet legacy API diffView dotnet iOS-MacCatalayst API diff
API Current PR diffView dotnet API diffView dotnet legacy API diffView dotnet iOS-MacCatalayst API diff
GitHub pagesResults can be found in the following github pages (it might take some time to publish): Test results5 tests failed, 149 tests passed.Failed tests
Pipeline on Agent XAMBOT-1042.Monterey' |
[Watch (8,5), iOS (15,4), MacCatalyst (15,4)] | ||
public enum HKVerifiableClinicalRecordSourceType { | ||
[DefaultEnumValue] | ||
[Field (null)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nits to be fixe before landing, yet it looks good.
if (values is null) | ||
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (values)); | ||
if (values.Length > DiscretePositionCount) | ||
throw new ArgumentException ($"The '{nameof (values)}' array length can't be greater than {DiscretePositionCount}."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://docs.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception?view=net-6.0 is a nicer exception in this case.
if (values is null) | ||
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (values)); | ||
if (values.Length > DiscretePositionCount) | ||
throw new ArgumentException ($"The '{nameof (values)}' array length can't be greater than {DiscretePositionCount}."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[NoWatch] | ||
[NoTV, NoMac, MacCatalyst (15,4), iOS (15,4)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is NoWatch in the same line (curious more than anything).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to follow along the style in the file, see methods above
|
||
[iOS (15,4)] | ||
[Export ("initWithRecordTypes:sourceTypes:predicate:resultsHandler:")] | ||
IntPtr Constructor (string [] recordTypes, [BindAs (typeof (HKVerifiableClinicalRecordSourceType []))] NSString [] sourceTypes, [NullAllowed] NSPredicate predicate, Action<HKVerifiableClinicalRecordQuery, HKVerifiableClinicalRecord [], NSError> resultsHandler); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets use a delegate for such a large action, two params and an error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the review because we are missing nullable values here:
Action<HKVerifiableClinicalRecordQuery, HKVerifiableClinicalRecord []?, NSError?>
Bringing in another PR |
This PR brings Xcode 13.3 support up to Beta 3.
Probably better reviewed commit by commit.