[K/N] Update tvOS platform libs for Xcode 14

This commit is contained in:
Sergey Bogolepov
2022-08-25 18:08:03 +03:00
parent 7f78f806d4
commit 176f9335eb
22 changed files with 126 additions and 15 deletions
@@ -0,0 +1,7 @@
language = Objective-C
package = platform.AppIntents
modules = AppIntents
compilerOpts = -framework AppIntents
linkerOpts = -framework AppIntents
#Disabled: Swift-only framework
@@ -1,9 +0,0 @@
language = Objective-C
package = platform.CHIP
modules = CHIP
compilerOpts = -framework CHIP
linkerOpts = -framework CHIP
# https://github.com/project-chip/connectedhomeip
# Not officially available.
@@ -0,0 +1,7 @@
language = Objective-C
package = platform.Charts
modules = Charts
compilerOpts = -framework Charts
linkerOpts = -framework Charts
#Disabled: Swift-only framework
@@ -0,0 +1,7 @@
depends = CoreFoundation darwin posix
language = Objective-C
package = platform.ColorSync
modules = ColorSync
compilerOpts = -framework ColorSync
linkerOpts = -framework ColorSync
@@ -0,0 +1,7 @@
language = Objective-C
package = platform.CoreTransferable
modules = CoreTransferable
compilerOpts = -framework CoreTransferable
linkerOpts = -framework CoreTransferable
#Disabled: Swift-only framework
@@ -0,0 +1,7 @@
language = Objective-C
package = platform.CreateML
modules = CreateML
compilerOpts = -framework CreateML
linkerOpts = -framework CreateML
#Disabled: Swift-only framework
@@ -0,0 +1,7 @@
language = Objective-C
package = platform.CreateMLComponents
modules = CreateMLComponents
compilerOpts = -framework CreateMLComponents
linkerOpts = -framework CreateMLComponents
#Disabled: Not officially available for tvos
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL Foundation IOSurface ImageIO Metal Network OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.DeviceDiscoveryUI
modules = DeviceDiscoveryUI
compilerOpts = -framework DeviceDiscoveryUI
linkerOpts = -framework DeviceDiscoveryUI
@@ -0,0 +1,10 @@
depends = darwin posix
language = Objective-C
package = platform.ExtensionFoundation
modules = ExtensionFoundation
compilerOpts = -framework ExtensionFoundation
linkerOpts = -framework ExtensionFoundation
# It is actually a Swift framework, but it is used by ExtensionKit,
# so we have to enable it.
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL ExtensionFoundation Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.ExtensionKit
modules = ExtensionKit
compilerOpts = -framework ExtensionKit
linkerOpts = -framework ExtensionKit
@@ -0,0 +1,9 @@
language = Objective-C
package = platform.Matter
modules.tvos_arm64 = Matter
compilerOpts.tvos_arm64 = -framework Matter
linkerOpts.tvos_arm64 = -framework Matter
# Former CHIP.
# https://github.com/project-chip/connectedhomeip
# Not officially available.
@@ -1,4 +1,4 @@
depends = AVFoundation CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreImage CoreMedia CoreText CoreVideo EAGL Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
depends = AVFAudio AVFoundation AudioToolbox CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreImage CoreMIDI CoreMedia CoreText CoreVideo EAGL Foundation IOSurface ImageIO MediaToolbox Metal OpenGLESCommon QuartzCore Security UIKit UniformTypeIdentifiers UserNotifications darwin posix
language = Objective-C
package = platform.MediaPlayer
headers = MediaPlayer/MediaPlayer.h
@@ -1,4 +1,4 @@
depends = CFNetwork CoreFoundation CoreGraphics EAGL Foundation Metal Security darwin posix
depends = CFNetwork CoreFoundation CoreGraphics CoreVideo EAGL Foundation Metal Security darwin posix
language = Objective-C
package = platform.QuartzCore
headers = QuartzCore/QuartzCore.h
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreVideo EAGL Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security SharedWithYouCore UIKit darwin posix
language = Objective-C
package = platform.SharedWithYou
modules = SharedWithYou
compilerOpts = -framework SharedWithYou
linkerOpts = -framework SharedWithYou
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.SharedWithYouCore
modules = SharedWithYouCore
compilerOpts = -framework SharedWithYouCore
linkerOpts = -framework SharedWithYouCore
@@ -1,4 +1,4 @@
depends = AVFAudio AudioToolbox CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreMIDI CoreMedia CoreVideo Foundation IOSurface Metal OpenGLESCommon Security darwin posix
depends = AVFAudio AVFoundation AudioToolbox CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreMIDI CoreMedia CoreVideo EAGL Foundation IOSurface ImageIO MediaToolbox Metal OpenGLESCommon QuartzCore Security UniformTypeIdentifiers darwin posix
language = Objective-C
package = platform.ShazamKit
@@ -1,4 +1,4 @@
depends = CoreFoundation Foundation darwin posix
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.VideoSubscriberAccount
modules = VideoSubscriberAccount
@@ -0,0 +1,7 @@
language = Objective-C
package = platform.WeatherKit
modules = WeatherKit
compilerOpts = -framework WeatherKit
linkerOpts = -framework WeatherKit
#Disabled: Swift-only framework
@@ -0,0 +1,7 @@
language = Objective-C
package = platform._AppIntents_SwiftUI
modules = _AppIntents_SwiftUI
compilerOpts = -framework _AppIntents_SwiftUI
linkerOpts = -framework _AppIntents_SwiftUI
#Disabled: Unavailable
@@ -0,0 +1,7 @@
language = Objective-C
package = platform._AppIntents_UIKit
modules = _AppIntents_UIKit
compilerOpts = -framework _AppIntents_UIKit
linkerOpts = -framework _AppIntents_UIKit
#Disabled: Unavailable
@@ -0,0 +1,7 @@
language = Objective-C
package = platform._DeviceDiscoveryUI_SwiftUI
modules = _DeviceDiscoveryUI_SwiftUI
compilerOpts = -framework _DeviceDiscoveryUI_SwiftUI
linkerOpts = -framework _DeviceDiscoveryUI_SwiftUI
#Disabled: Unavailable
@@ -19,8 +19,11 @@ linkerOpts = -ldl -lresolv
excludedFunctions = acl_valid_link_np pfctlinput profil unwhiteout zopen getdirentries \
uuid_generate_early_random setgrfile
excludedFunctions.tvos_arm64 = longjmperror
excludedFunctions.tvos_simulator_arm64 = longjmperror
excludedFunctions.tvos_x64 = pthread_jit_write_protect_np pthread_jit_write_protect_supported_np
excludedFunctions.tvos_simulator_arm64 = longjmperror \
openat_dprotected_np mkfifoat mknodat openat_authenticated_np
excludedFunctions.tvos_x64 = openat_dprotected_np mkfifoat mknodat openat_authenticated_np
#excludedFunctions.tvos_x64 = pthread_jit_write_protect_np pthread_jit_write_protect_supported_np
---
// Wrapper to access errno variable.