Skip to content

MediaPlayer macOS xcode15.0 b5

Manuel de la Pena edited this page Sep 13, 2023 · 2 revisions

#MediaPlayer.framework https://github.com/xamarin/xamarin-macios/pull/19014

diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaPickerController.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaPickerController.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaPickerController.h	2023-06-28 04:41:29
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaPickerController.h	2023-07-19 03:28:06
@@ -20,8 +20,8 @@
 // MPMediaPickerController is a UIViewController for visually selecting media items.
 // To display it, present it modally on an existing view controller.
 MP_API(ios(3.0))
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-API_UNAVAILABLE(watchos, xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+API_UNAVAILABLE(watchos, visionos)
 #else
 API_UNAVAILABLE(watchos)
 #endif
@@ -44,8 +44,8 @@
 @end
 
 MP_UNAVAILABLE(tvos, macos)
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-API_UNAVAILABLE(watchos, xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+API_UNAVAILABLE(watchos, visionos)
 #else
 API_UNAVAILABLE(watchos)
 #endif
Clone this wiki locally