From 64dfa8f10bb2135b82ae16865992f7493ef2f028 Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Tue, 31 Jan 2017 19:32:16 -0500 Subject: [PATCH] [tests][macos][apitest] Fix MediaPlayerLibrary for unified. Fixes #51799 Previous fix covered classic but missed the fact that `xcode8.3` branch, being old, did not load `MediaPlayer.framework` which made the unified version of the tests (both 64bits) fail. Newer branch already had the framework loaded and did not fail. reference: https://bugzilla.xamarin.com/show_bug.cgi?id=51799 --- src/Foundation/NSObject.mac.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Foundation/NSObject.mac.cs b/src/Foundation/NSObject.mac.cs index aecaaed17c44..ad46da60a3b3 100644 --- a/src/Foundation/NSObject.mac.cs +++ b/src/Foundation/NSObject.mac.cs @@ -94,6 +94,7 @@ public partial class NSObject : INativeObject static IntPtr io = Dlfcn.dlopen (Constants.ModelIOLibrary, 1); static IntPtr nc = Dlfcn.dlopen (Constants.NotificationCenterLibrary, 1); static IntPtr pl = Dlfcn.dlopen (Constants.PhotosLibrary, 1); + static IntPtr mp = Dlfcn.dlopen (Constants.MediaPlayerLibrary, 1); #endif #if !XAMCORE_4_0