-
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
[CoreMedia] Add support for xcode13 #12770
[CoreMedia] Add support for xcode13 #12770
Conversation
❌ [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 results11 tests failed, 91 tests passed.Failed tests
Pipeline on Agent XAMBOT-1096.BigSur' |
@@ -411,20 +468,30 @@ public CMTimebaseError SetTimerToFireImmediately (NSTimer timer) | |||
|
|||
#if !NET | |||
[TV (13,0), Mac (10,15), iOS (13,0)] |
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.
Should this line be removed as well?
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 do you want me to remove? The deprecation is needed for classic. The unsupported is needed as well, else it will use the default, since the minimum versions are 10 for iOS/tvOS, 10.4 for mac OS x and no watch. Without the Unsupported it will be assumed that they are present in those platforms. If anything we could remove the os version number.
[UnsupportedOSPlatform ("ios8.0")] | ||
[UnsupportedOSPlatform ("tvos9.0")] | ||
[UnsupportedOSPlatform ("maccatalyst")] | ||
[UnsupportedOSPlatform ("macos10.10")] | ||
#endif | ||
[DllImport(Constants.CoreMediaLibrary)] | ||
extern static CMTimebaseError CMTimebaseSetMasterTimebase (/* CMTimebaseRef* */ IntPtr timebase, /* CMTimebaseRef* */ IntPtr newMasterTimebase); | ||
|
||
#if !NET | ||
[TV (13,0), Mac (10,15), iOS (13,0)] |
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.
Maybe same with this one
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.
same.
@@ -436,20 +503,30 @@ public CMTimebaseError SetMasterTimebase (CMTimebase newMasterTimebase) | |||
|
|||
#if !NET | |||
[TV (13,0), Mac (10,15), iOS (13,0)] |
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.
Same
[UnsupportedOSPlatform ("ios8.0")] | ||
[UnsupportedOSPlatform ("tvos9.0")] | ||
[UnsupportedOSPlatform ("maccatalyst")] | ||
[UnsupportedOSPlatform ("macos10.10")] | ||
#endif | ||
[DllImport(Constants.CoreMediaLibrary)] | ||
extern static CMTimebaseError CMTimebaseSetMasterClock (/* CMTimebaseRef* */ IntPtr timebase, /* CMClockRef* */ IntPtr newMasterClock); | ||
|
||
#if !NET | ||
[TV (13,0), Mac (10,15), iOS (13,0)] |
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.
Same
Co-authored-by: TJ Lambert <[email protected]> Co-authored-by: Rolf Bjarne Kvinge <[email protected]>
…amarin-macios into coremedia-xcode13-beta5
❌ [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 results9 tests failed, 93 tests passed.Failed tests
Pipeline on Agent XAMBOT-1099.BigSur' |
❌ [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, 101 tests passed.Failed tests
Pipeline on Agent XAMBOT-1101.BigSur' |
src/CoreMedia/CMSync.cs
Outdated
if (error != CMTimebaseError.None) | ||
throw new ArgumentException (error.ToString ()); | ||
|
||
CFObject.CFRetain (Handle); |
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.
This isn't necessary, the handle
parameter is marked as CM_RETURNS_RETAINED_PARAMETER
in the header.
Co-authored-by: Rolf Bjarne Kvinge <[email protected]>
❌ [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, 101 tests passed.Failed tests
Pipeline on Agent XAMBOT-1101.BigSur' |
/sudo backport xcode13-ios |
Backport Job to branch xcode13-ios Created! The magic is happening here |
Oh no! Backport failed! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=5250820 for more details. |
No description provided.