Repository navigation
[NearbyInteraction] Updates for Xcode14 Beta 1 - #15840
Conversation
| if (_WorldTransformNotAvailable is null) { | ||
| unsafe { | ||
| MatrixFloat4x4 *pointer = (MatrixFloat4x4 *) Dlfcn.GetIndirect (Libraries.NearbyInteraction.Handle, "NINearbyObjectWorldTransformNotAvailable"); | ||
| _WorldTransformNotAvailable = *pointer; |
There was a problem hiding this comment.
I think this will crash if executed on an earlier OS version (where the native field doesn't exist).
Something like this should work instead:
| _WorldTransformNotAvailable = *pointer; | |
| if (pointer == null) | |
| throw new PlatformNotSupportedException ("This property is not supported on this version of the OS"); | |
| _WorldTransformNotAvailable = *pointer; |
The property also needs availability attributes.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
👀 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Updating and want to rerun the failing addressbook tests in monotouch-tests and failing bcl test |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
More seemingly-unrelated test failures... |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
✅ API diff for current PR / commitLegacy Xamarin (No breaking changes).NET (No breaking changes)✅ API diff vs stableLegacy Xamarin (No breaking changes).NET (No breaking changes)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
❌ [PR Build] Tests on macOS M1 - Mac Big Sur (11.5) failed ❌Failed tests are:
Pipeline on Agent |
🔥 [CI Build] Test results 🔥Test results❌ Tests failed on VSTS: simulator tests 0 tests crashed, 3 tests failed, 225 tests passed. Failures❌ bcl testsDetails
Html Report (VSDrops) Download ❌ introspection testsDetails
Html Report (VSDrops) Download ❌ xcframework testsDetails
Html Report (VSDrops) Download Successes✅ cecil: All 1 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
No description provided.