[tvos] Enable MultipeerConnectivity and ReplayKit frameworks, existing in iOS but just added in tvOS 10 (#361)
* Xcode 8 beta 2 tvOS SDK does not ship ExternalAccessory headers for the simulator (but the framework itself is present) so it's not yet enabled (causing registrar build issues) https://trello.com/c/2e2VdbGR/49-27266975-externalaccessory-header-files-are-missing-for-appletvsimulator * MapKit was not added for 9.2 - it's added now (and will be fixed in master/cycle8 later)
This commit is contained in:
Родитель
491fdebca1
Коммит
b16a95b0d1
|
@ -60,8 +60,11 @@ namespace ObjCRuntime {
|
|||
public const string MapKitLibrary = "/System/Library/Frameworks/MapKit.framework/MapKit";
|
||||
|
||||
// TVOS 10.0
|
||||
public const string ExternalAccessoryLibrary = "/System/Library/Frameworks/ExternalAccessory.framework/ExternalAccessory";
|
||||
public const string MultipeerConnectivityLibrary = "/System/Library/Frameworks/MultipeerConnectivity.framework/MultipeerConnectivity";
|
||||
public const string PhotosLibrary = "/System/Library/Frameworks/Photos.framework/Photos";
|
||||
public const string VideoSubscriberAccountLibrary = "/System/Library/Frameworks/VideoSubscriberAccount.framework/VideoSubscriberAccount";
|
||||
public const string ReplayKitLibrary = "/System/Library/Frameworks/ReplayKit.framework/ReplayKit";
|
||||
public const string UserNotificationsLibrary = "/System/Library/Frameworks/UserNotifications.framework/UserNotifications";
|
||||
public const string VideoSubscriberAccountLibrary = "/System/Library/Frameworks/VideoSubscriberAccount.framework/VideoSubscriberAccount";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1673,8 +1673,10 @@ TVOS_FRAMEWORKS = \
|
|||
MetalPerformanceShaders \
|
||||
MobileCoreServices \
|
||||
ModelIO \
|
||||
MultipeerConnectivity \
|
||||
OpenGLES \
|
||||
Photos \
|
||||
ReplayKit \
|
||||
SceneKit \
|
||||
Security \
|
||||
SpriteKit \
|
||||
|
|
|
@ -312,8 +312,13 @@ public class Frameworks : Dictionary <string, Framework>
|
|||
{ "TVServices", "TVServices", 9 },
|
||||
{ "UIKit", "UIKit", 9 },
|
||||
|
||||
{ "VideoSubscriberAccount", "VideoSubscriberAccount", 10 },
|
||||
{ "MapKit", "MapKit", 9, 2 },
|
||||
|
||||
//{ "ExternalAccessory", "ExternalAccessory", 10 },
|
||||
{ "MultipeerConnectivity", 10 },
|
||||
{ "ReplayKit", "ReplayKit", 10 },
|
||||
{ "UserNotifications", "UserNotifications", 10 },
|
||||
{ "VideoSubscriberAccount", "VideoSubscriberAccount", 10 },
|
||||
};
|
||||
}
|
||||
return tvos_frameworks;
|
||||
|
|
Загрузка…
Ссылка в новой задаче