-
Notifications
You must be signed in to change notification settings - Fork 514
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
[CHIP] Add support fox Xcode 13 beta 3. #12143
[CHIP] Add support fox Xcode 13 beta 3. #12143
Conversation
✅ [PR Build] Tests passed on Build. ✅Tests passed on Build. API diff✅ API Diff from stable View API diffAPI & Generator diffℹ️ API Diff (from PR only) (please review changes) GitHub pagesResults can be found in the following github pages (it might take some time to publish): 🎉 All 86 tests passed 🎉Pipeline on Agent XAMBOT-1101.BigSur' |
src/chip.cs
Outdated
|
||
[Async (ResultTypeName = "ChipReadAttributeResult")] | ||
[Export ("opCSRRequest:responseHandler:")] | ||
void OpCSRRequest (NSData cSRNonce, ChipResponseHandler responseHandler); |
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.
OpCsrRequest
-> Csr
-> TLA
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.
parameter name should be csrNonce
too
src/chip.cs
Outdated
|
||
[Async (ResultTypeName = "ChipReadAttributeResult")] | ||
[Export ("login:setupPIN:responseHandler:")] | ||
void Login (string tempAccountIdentifier, string setupPIN, ChipResponseHandler responseHandler); |
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.
-> setupPin
src/chip.cs
Outdated
@@ -1140,7 +1140,7 @@ interface ChipOperationalCredentials | |||
|
|||
[Async (ResultTypeName = "ChipReadAttributeResult")] | |||
[Export ("opCSRRequest:responseHandler:")] | |||
void OpCSRRequest (NSData cSRNonce, ChipResponseHandler responseHandler); | |||
void OpCsRrequest (NSData csrNonce, ChipResponseHandler responseHandler); |
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.
wrong r
OpCsRrequest
-> OpCsrRequest
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.
The diff shows that the NSError param in the CHIPDevicePairingDelegate methods onPairingComplete, onPairingDeleted, and onAddressUpdated are now nullable. Should there be a [NullAllowed] attribute added to those?
Similarly, should CHIPGetKeyValue be decorated with a [NullAllowed] attribute as well?
src/chip.cs
Outdated
|
||
[Async (ResultTypeName = "ChipReadAttributeResult")] | ||
[Export ("configureAttributeMeasuredValueWithMinInterval:maxInterval:change:responseHandler:")] | ||
void ConfigureAttributeMeasuredValueWithMinInterval (ushort minInterval, ushort maxInterval, ushort change, ChipResponseHandler responseHandler); |
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.
ConfigureAttributeMeasuredValueWithMinInterval --> ConfigureAttributeMeasuredValue
src/chip.cs
Outdated
|
||
[Async (ResultTypeName = "ChipReadAttributeResult")] | ||
[Export ("windowCoveringUpOpen:")] | ||
void WindowCoveringUpOpen (ChipResponseHandler responseHandler); |
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.
I think you can (maybe?) get rid of the WindowCovering
prefix on all of the above
Why are pirates call pirates? Because the RRRR!
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 catches @rachelkang !
🔥 Tests failed catastrophically on Build (no summary found). 🔥Result file $(TEST_SUMMARY_PATH) not found. |
src/chip.cs
Outdated
Invalid = 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.
small: extra newline
❌ [PR Build] Tests failed on Build ❌Tests failed on Build. API diff✅ API Diff from stable View API diffAPI & Generator diffℹ️ API Diff (from PR only) (please review changes) GitHub pagesResults can be found in the following github pages (it might take some time to publish): Test results1 tests failed, 85 tests passed.Failed tests
Pipeline on Agent XAMBOT-1098.BigSur' |
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
That API was removed in beta 3. https://github.com/xamarin/xamarin-macios/wiki/CHIP-iOS-xcode13.0-beta3 but this was missed by xamarin#12143
/sudo backport release/6.0.1xx-preview7 |
Backport Job to branch release/6.0.1xx-preview7 Created! The magic is happening here |
Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=5007513 for more details. |
That API was removed in beta 3. https://github.com/xamarin/xamarin-macios/wiki/CHIP-iOS-xcode13.0-beta3 but this was missed by xamarin#12143
That API was removed in beta 3. https://github.com/xamarin/xamarin-macios/wiki/CHIP-iOS-xcode13.0-beta3 but this was missed by #12143
…12169) * [CHIP] Add support fox Xcode 13 beta 3. * Address reviews. * Address reviews. * Fix typo, wrong R. Why are pirates call pirates? Because the RRRR! * Apply suggestions from code review Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com> * [chip] Remove API to fix intro on macOS 12 beta 3 That API was removed in beta 3. https://github.com/xamarin/xamarin-macios/wiki/CHIP-iOS-xcode13.0-beta3 but this was missed by #12143 Co-authored-by: Manuel de la Pena <mandel@microsoft.com> Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com> Co-authored-by: Sebastien Pouliot <sebastien.pouliot@microsoft.com>
No description provided.