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

This commit is contained in:
Sergey Bogolepov
2022-08-26 10:15:53 +03:00
parent 176f9335eb
commit df48b24631
23 changed files with 146 additions and 4 deletions
@@ -3,5 +3,7 @@ language = Objective-C
package = platform.AVFoundation
modules = AVFoundation
excludedFunctions = AVCaptureLensPositionCurrent
compilerOpts = -framework AVFoundation
linkerOpts = -framework AVFoundation
@@ -0,0 +1,7 @@
language = Objective-C
package = platform.AppIntents
modules = AppIntents
compilerOpts = -framework AppIntents
linkerOpts = -framework AppIntents
#Disabled: Swift-only framework
@@ -0,0 +1,7 @@
depends = CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.CallKit
modules = CallKit
compilerOpts = -framework CallKit
linkerOpts = -framework CallKit
@@ -0,0 +1,7 @@
language = Objective-C
package = platform.CarKey
modules = CarKey
compilerOpts = -framework CarKey
linkerOpts = -framework CarKey
#Disabled: Not officially available for watchos
@@ -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 @@
depends = CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.DeviceCheck
modules = DeviceCheck
compilerOpts = -framework DeviceCheck
linkerOpts = -framework DeviceCheck
@@ -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 = CoreFoundation ExtensionFoundation Foundation Security darwin posix
language = Objective-C
package = platform.ExtensionKit
modules = ExtensionKit
compilerOpts = -framework ExtensionKit
linkerOpts = -framework ExtensionKit
@@ -1,4 +1,4 @@
depends = CoreFoundation Foundation Security darwin posix
depends = CoreFoundation Foundation Security UniformTypeIdentifiers darwin posix
language = Objective-C
package = platform.HealthKit
modules = HealthKit
@@ -0,0 +1,7 @@
depends = CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.LocalAuthentication
modules = LocalAuthentication
compilerOpts = -framework LocalAuthentication
linkerOpts = -framework LocalAuthentication
@@ -0,0 +1,13 @@
language = Objective-C
package = platform.Matter
modules.watchos_arm32 = Matter
compilerOpts.watchos_arm32 = -framework Matter
linkerOpts.watchos_arm32 = -framework Matter
modules.watchos_arm64 = Matter
compilerOpts.watchos_arm64 = -framework Matter
linkerOpts.watchos_arm64 = -framework Matter
# Former CHIP.
# https://github.com/project-chip/connectedhomeip
# Not officially available.
@@ -1,4 +1,4 @@
depends = AVFoundation CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreMedia CoreVideo Foundation Security darwin posix
depends = AVFAudio AVFoundation CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreMIDI CoreMedia CoreVideo Foundation ImageIO Security UniformTypeIdentifiers darwin posix
language = Objective-C
package = platform.MediaPlayer
modules = MediaPlayer
@@ -0,0 +1,10 @@
depends = CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.PhotosUI
modules = PhotosUI
compilerOpts = -framework PhotosUI
linkerOpts = -framework PhotosUI
# Not officially available for watchOS.
# As of Xcode 14 beta 6, some important definitions are missing.
@@ -1,4 +1,4 @@
depends = AVFAudio CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreMIDI CoreMedia CoreVideo Foundation Security darwin posix
depends = AVFAudio AVFoundation CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreMIDI CoreMedia CoreVideo Foundation ImageIO Security UniformTypeIdentifiers darwin posix
language = Objective-C
package = platform.ShazamKit
@@ -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.WidgetKit
modules = WidgetKit
compilerOpts = -framework WidgetKit
linkerOpts = -framework WidgetKit
#Disabled: Not officially available for watchos
@@ -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._PassKit_SwiftUI
modules = _PassKit_SwiftUI
compilerOpts = -framework _PassKit_SwiftUI
linkerOpts = -framework _PassKit_SwiftUI
#Disabled: Unavailable
@@ -0,0 +1,7 @@
language = Objective-C
package = platform._PhotosUI_SwiftUI
modules = _PhotosUI_SwiftUI
compilerOpts = -framework _PhotosUI_SwiftUI
linkerOpts = -framework _PhotosUI_SwiftUI
#Disabled: Unavailable
@@ -21,7 +21,9 @@ excludedFunctions = acl_valid_link_np pfctlinput profil unwhiteout zopen getdire
getcontext makecontext setcontext swapcontext
excludedFunctions.watchos_arm32 = longjmperror
excludedFunctions.watchos_arm64 = longjmperror
excludedFunctions.watchos_simulator_arm64 = longjmperror
excludedFunctions.watchos_simulator_arm64 = longjmperror \
openat_dprotected_np mkfifoat mknodat openat_authenticated_np
excludedFunctions.watchos_x64 = openat_dprotected_np mkfifoat mknodat openat_authenticated_np
excludedFunctions.watchos_x86 = pthread_jit_write_protect_np pthread_jit_write_protect_supported_np
---