Skip to content
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

Closed
wants to merge 31 commits into from

Conversation

dalexsoto
Copy link
Member

This PR brings Xcode 13.3 support up to Beta 3.

Probably better reviewed commit by commit.

Ignoring CHIP framework for now since it is not stable just yet
and we want to avoid breaking changes in the future.
@dalexsoto dalexsoto added the note-highlight Worth calling out specifically in release notes label Mar 7, 2022
@dalexsoto dalexsoto added this to the xcode13.3 milestone Mar 7, 2022
@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests didn't execute on Build. ❌

Tests didn't execute on Build.

API diff

✅ API Diff from stable

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff

API Current PR diff

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff
  • ⚠️ Generator diff comments have not been provided.

GitHub pages

Results 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)

Pipeline on Agent
Merge b91411c into e5f7cd7

1 similar comment
@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests didn't execute on Build. ❌

Tests didn't execute on Build.

API diff

✅ API Diff from stable

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff

API Current PR diff

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff
  • ⚠️ Generator diff comments have not been provided.

GitHub pages

Results 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)

Pipeline on Agent
Merge b91411c into e5f7cd7

Copy link
Member

@rolfbjarne rolfbjarne left a 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>
Copy link
Member

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?

Copy link
Member Author

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}.");
Copy link
Member

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?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff

API Current PR diff

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff
  • ⚠️ Generator diff comments have not been provided.

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

5 tests failed, 149 tests passed.

Failed tests

  • xammac tests/Mac Modern/Debug: Failed (Test run failed.
    Tests run: 2640 Passed: 2556 Inconclusive: 10 Failed: 1 Ignored: 83)
  • xammac tests/Mac Modern/Release: Failed (Test run failed.
    Tests run: 2637 Passed: 2552 Inconclusive: 10 Failed: 1 Ignored: 84)
  • monotouch-test/tvOS - simulator/Release (all optimizations) [dotnet]: Failed
  • MTouch tests/NUnit: Failed (Execution failed with exit code 3)
  • DotNet tests: Failed (Execution failed with exit code 1)

Pipeline on Agent XAMBOT-1042.Monterey'
Merge 1a0d1cd into e5f7cd7

[Watch (8,5), iOS (15,4), MacCatalyst (15,4)]
public enum HKVerifiableClinicalRecordSourceType {
[DefaultEnumValue]
[Field (null)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

Copy link
Member

@mandel-macaque mandel-macaque left a 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}.");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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}.");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +10792 to +10793
[NoWatch]
[NoTV, NoMac, MacCatalyst (15,4), iOS (15,4)]
Copy link
Member

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).

Copy link
Member Author

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);
Copy link
Member

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.

Copy link
Member

@mandel-macaque mandel-macaque left a 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?>

@dalexsoto dalexsoto closed this Mar 14, 2022
@dalexsoto
Copy link
Member Author

Bringing in another PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
note-highlight Worth calling out specifically in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants