Skip to content

Commit f6fdd17

Browse files
Update def files with Xcode 16 frameworks
^KT-70031
1 parent 12880a6 commit f6fdd17

File tree

82 files changed

+427
-27
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+427
-27
lines changed

kotlin-native/README.md

Lines changed: 1 addition & 1 deletion

kotlin-native/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
remoteRoot=konan_tests
1919

2020
# A version of Xcode required to build the Kotlin/Native compiler.
21-
xcodeMajorVersion=15
21+
xcodeMajorVersion=16
2222

2323
# A GTest revision used to test the runtime.
2424
# The latest release GTest (1.10.0) doesn't properly register skipped tests in an XML-report.
@@ -34,4 +34,4 @@ shadowVersion=8.1.1
3434
metadataVersion=0.0.1-dev-10
3535

3636
# Default location of dist dir relative to the root project
37-
kotlin.native.home=kotlin-native/dist
37+
kotlin.native.home=kotlin-native/dist
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
depends = CFCGTypes CFNetwork CoreFoundation CoreFoundationBase CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security Symbols UIKit UserNotifications darwin posix
2+
language = Objective-C
3+
package = platform.AccessorySetupKit
4+
5+
modules = AccessorySetupKit
6+
compilerOpts = -framework AccessorySetupKit
7+
linkerOpts = -framework AccessorySetupKit
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.AdAttributionKit
3+
4+
modules = AdAttributionKit
5+
compilerOpts = -framework AdAttributionKit
6+
linkerOpts = -framework AdAttributionKit
7+
#Disabled: Swift-only framework
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.Assignables
3+
4+
modules = Assignables
5+
compilerOpts = -framework Assignables
6+
linkerOpts = -framework Assignables
7+
#Disabled: Swift-only framework
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
depends = CFCGTypes CFNetwork CoreFoundation CoreFoundationBase Foundation Security darwin posix
2+
language = Objective-C
3+
package = platform.BrowserEngineCore
4+
5+
# llvm 11 doesn't handle long int in inline assembly in this function
6+
excludedFunctions = be_memory_inline_jit_restrict_rwx_to_rw_with_witness
7+
8+
modules = BrowserEngineCore
9+
compilerOpts = -framework BrowserEngineCore
10+
linkerOpts = -framework BrowserEngineCore
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
depends = BrowserEngineCore CFCGTypes CFNetwork CoreFoundation CoreFoundationBase CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security Symbols UIKit UserNotifications darwin posix
2+
language = Objective-C
3+
package = platform.BrowserEngineKit
4+
5+
modules = BrowserEngineKit
6+
compilerOpts = -framework BrowserEngineKit
7+
linkerOpts = -framework BrowserEngineKit
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.ContactProvider
3+
4+
modules = ContactProvider
5+
compilerOpts = -framework ContactProvider
6+
linkerOpts = -framework ContactProvider
7+
# The framework has no ObjC API surface

kotlin-native/platformLibs/src/platform/ios/CoreML.def

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ modules = CoreML
55

66
compilerOpts = -framework CoreML
77
linkerOpts = -framework CoreML
8+
9+
excludedFunctions = MLModelCollectionDidChangeNotification

kotlin-native/platformLibs/src/platform/ios/CoreTransferable.def.disabled

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ package = platform.CoreTransferable
44
modules = CoreTransferable
55
compilerOpts = -framework CoreTransferable
66
linkerOpts = -framework CoreTransferable
7-
#Disabled: Swift-only framework
7+
# The framework has no ObjC API surface

kotlin-native/platformLibs/src/platform/ios/FinanceKitUI.def.disabled

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ package = platform.FinanceKitUI
44
modules = FinanceKitUI
55
compilerOpts = -framework FinanceKitUI
66
linkerOpts = -framework FinanceKitUI
7-
#Disabled: Swift-only framework
7+
#Disabled: Not officially available for ios
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.LightweightCodeRequirements
3+
4+
modules = LightweightCodeRequirements
5+
compilerOpts = -framework LightweightCodeRequirements
6+
linkerOpts = -framework LightweightCodeRequirements
7+
#Disabled: Swift-only framework
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.LiveCommunicationKit
3+
4+
modules = LiveCommunicationKit
5+
compilerOpts = -framework LiveCommunicationKit
6+
linkerOpts = -framework LiveCommunicationKit
7+
#Disabled: Not officially available for ios
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
depends = CFCGTypes CFNetwork CoreFoundation CoreFoundationBase Foundation Security darwin posix
2+
language = Objective-C
3+
package = platform.LockedCameraCapture
4+
5+
modules = LockedCameraCapture
6+
compilerOpts = -framework LockedCameraCapture
7+
linkerOpts = -framework LockedCameraCapture
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.MarketplaceKit
3+
4+
modules = MarketplaceKit
5+
compilerOpts = -framework MarketplaceKit
6+
linkerOpts = -framework MarketplaceKit
7+
#Disabled: Swift-only framework

kotlin-native/platformLibs/src/platform/ios/ProximityReader.def.disabled

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ package = platform.ProximityReader
44
modules = ProximityReader
55
compilerOpts = -framework ProximityReader
66
linkerOpts = -framework ProximityReader
7-
#Disabled: Swift-only framework
7+
# The framework has no ObjC API surface

kotlin-native/platformLibs/src/platform/ios/RoomPlan.def.disabled

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ package = platform.RoomPlan
44
modules = RoomPlan
55
compilerOpts = -framework RoomPlan
66
linkerOpts = -framework RoomPlan
7-
#Disabled: Swift-only framework
7+
# The framework has no ObjC API surface

kotlin-native/platformLibs/src/platform/ios/SoundAnalysis.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
depends = AVFAudio AVFoundation AudioToolbox CFCGTypes CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreFoundationBase CoreGraphics CoreMIDI CoreML CoreMedia CoreVideo EAGL Foundation IOSurface ImageIO MediaToolbox Metal OpenGLESCommon QuartzCore Security UniformTypeIdentifiers darwin posix
1+
depends = AVFAudio AudioToolbox CFCGTypes CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreFoundationBase CoreGraphics CoreMIDI CoreML CoreMedia CoreVideo Foundation IOSurface ImageIO Metal OpenGLESCommon Security darwin posix
22
language = Objective-C
33
package = platform.SoundAnalysis
44
modules = SoundAnalysis
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.StickerFoundation
3+
4+
modules = StickerFoundation
5+
compilerOpts = -framework StickerFoundation
6+
linkerOpts = -framework StickerFoundation
7+
#Disabled: Unavailable
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language = Objective-C
2+
package = platform.StickerKit
3+
4+
modules.ios_arm64 = StickerKit
5+
compilerOpts.ios_arm64 = -framework StickerKit
6+
linkerOpts.ios_arm64 = -framework StickerKit
7+
#Disabled: Check that framework is not available for simulators
8+
# The framework is actually empty
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.SwiftUICore
3+
4+
modules = SwiftUICore
5+
compilerOpts = -framework SwiftUICore
6+
linkerOpts = -framework SwiftUICore
7+
#Disabled: Unavailable
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.Translation
3+
4+
modules = Translation
5+
compilerOpts = -framework Translation
6+
linkerOpts = -framework Translation
7+
#Disabled: Swift-only framework

kotlin-native/platformLibs/src/platform/ios/UIKit.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ compilerOpts = -framework UIKit
77
linkerOpts = -framework UIKit
88
excludedFunctions = UISceneErrorDomain
99

10-
objcClassesIncludingCategories = NSMutableParagraphStyle NSParagraphStyle NSTextContainer NSTextTab
10+
objcClassesIncludingCategories = NSMutableParagraphStyle NSParagraphStyle NSTextContainer NSTextTab
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language = Objective-C
22
package = platform.WidgetKit
3+
34
modules = WidgetKit
45
compilerOpts = -framework WidgetKit
56
linkerOpts = -framework WidgetKit
6-
#Disabled: Swift-only framework
7+
# The framework has no ObjC API surface
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform._AdAttributionKit_StoreKit
3+
4+
modules = _AdAttributionKit_StoreKit
5+
compilerOpts = -framework _AdAttributionKit_StoreKit
6+
linkerOpts = -framework _AdAttributionKit_StoreKit
7+
#Disabled: Unavailable
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform._CoreNFC_UIKit
3+
4+
modules = _CoreNFC_UIKit
5+
compilerOpts = -framework _CoreNFC_UIKit
6+
linkerOpts = -framework _CoreNFC_UIKit
7+
#Disabled: Unavailable
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform._GameController_SwiftUI
3+
4+
modules = _GameController_SwiftUI
5+
compilerOpts = -framework _GameController_SwiftUI
6+
linkerOpts = -framework _GameController_SwiftUI
7+
#Disabled: Unavailable
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform._Intents_TipKit
3+
4+
modules = _Intents_TipKit
5+
compilerOpts = -framework _Intents_TipKit
6+
linkerOpts = -framework _Intents_TipKit
7+
#Disabled: Unavailable
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform._MarketplaceKit_UIKit
3+
4+
modules = _MarketplaceKit_UIKit
5+
compilerOpts = -framework _MarketplaceKit_UIKit
6+
linkerOpts = -framework _MarketplaceKit_UIKit
7+
#Disabled: Unavailable
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform._Translation_SwiftUI
3+
4+
modules = _Translation_SwiftUI
5+
compilerOpts = -framework _Translation_SwiftUI
6+
linkerOpts = -framework _Translation_SwiftUI
7+
#Disabled: Unavailable

kotlin-native/platformLibs/src/platform/ios/darwin.def

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,16 @@ headerFilter = **
3232
excludedFunctions = __tg_promote KERNEL_AUDIT_TOKEN KERNEL_SECURITY_TOKEN \
3333
asl_decode_buffer asl_encode_buffer asl_remove_index \
3434
averunnable dbm_forder pidlock ttyaction ttylock ttymsg ttyunlock uuid_generate_early_random \
35-
vm_stats
35+
vm_stats \
36+
clock_get_res clock_set_res mach_vm_region_info mach_vm_region_info_64 task_wire vm_map_64 vm_map_exec_lockdown vm_mapped_pages_info vm_region vm_region_recurse xpc_debugger_api_misuse_info
37+
3638

3739
excludedFunctions.ios_arm32 = _Unwind_Backtrace _Unwind_FindEnclosingFunction _Unwind_Find_FDE \
3840
_Unwind_SjLj_ForcedUnwind __deregister_frame __register_frame
3941

42+
excludedFunctions.ios_x64 = task_register_hardened_exception_handler thread_adopt_exception_handler
43+
excludedFunctions.ios_simulator_arm64 = task_register_hardened_exception_handler thread_adopt_exception_handler
44+
4045
compilerOpts = -D_XOPEN_SOURCE -DSYSCTL_DEF_ENABLED
4146
linkerOpts = -ldl -lz -lbz2 -lcompression -late
4247

kotlin-native/platformLibs/src/platform/ios/iAd.def

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ modules = iAd
55

66
compilerOpts = -framework iAd
77
linkerOpts = -framework iAd
8+
9+
excludedFunctions = ADClientErrorDomain
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.AccessorySetupKit
3+
4+
modules = AccessorySetupKit
5+
compilerOpts = -framework AccessorySetupKit
6+
linkerOpts = -framework AccessorySetupKit
7+
#Disabled: Not officially available for osx
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.BrowserEngineCore
3+
4+
modules = BrowserEngineCore
5+
compilerOpts = -framework BrowserEngineCore
6+
linkerOpts = -framework BrowserEngineCore
7+
#Disabled: Not officially available for osx
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.BrowserEngineKit
3+
4+
modules = BrowserEngineKit
5+
compilerOpts = -framework BrowserEngineKit
6+
linkerOpts = -framework BrowserEngineKit
7+
#Disabled: Not officially available for osx
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.CoreHID
3+
4+
modules = CoreHID
5+
compilerOpts = -framework CoreHID
6+
linkerOpts = -framework CoreHID
7+
#Disabled: Swift-only framework

kotlin-native/platformLibs/src/platform/osx/CoreML.def

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ modules = CoreML
55

66
compilerOpts = -framework CoreML
77
linkerOpts = -framework CoreML
8+
9+
excludedFunctions = MLModelCollectionDidChangeNotification

kotlin-native/platformLibs/src/platform/osx/CoreTransferable.def.disabled

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ package = platform.CoreTransferable
44
modules = CoreTransferable
55
compilerOpts = -framework CoreTransferable
66
linkerOpts = -framework CoreTransferable
7-
#Disabled: Swift-only framework
7+
# The framework has no ObjC API surface
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
depends = CFCGTypes CFNetwork CoreFoundation CoreFoundationBase CoreGraphics CoreServices DiskArbitration Foundation IOKit Network Security UniformTypeIdentifiers darwin libkern osx posix
2+
language = Objective-C
3+
package = platform.DeviceDiscoveryExtension
4+
5+
modules = DeviceDiscoveryExtension
6+
compilerOpts = -framework DeviceDiscoveryExtension
7+
linkerOpts = -framework DeviceDiscoveryExtension
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.LightweightCodeRequirements
3+
4+
modules = LightweightCodeRequirements
5+
compilerOpts = -framework LightweightCodeRequirements
6+
linkerOpts = -framework LightweightCodeRequirements
7+
#Disabled: Swift-only framework
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
depends = AVFAudio AVFoundation ApplicationServices AudioToolbox CFCGTypes CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreFoundationBase CoreGraphics CoreImage CoreMIDI CoreMedia CoreServices CoreText CoreVideo DiskArbitration Foundation IOKit IOSurface ImageIO MediaToolbox Metal OpenGLCommon QuartzCore Security UniformTypeIdentifiers VideoToolbox cups darwin libkern osx posix
2+
language = Objective-C
3+
package = platform.MediaExtension
4+
5+
modules = MediaExtension
6+
compilerOpts = -framework MediaExtension
7+
linkerOpts = -framework MediaExtension
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.ProximityReaderStub
3+
4+
modules = ProximityReaderStub
5+
compilerOpts = -framework ProximityReaderStub
6+
linkerOpts = -framework ProximityReaderStub
7+
# The framework is empty

kotlin-native/platformLibs/src/platform/osx/SoundAnalysis.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
depends = AVFAudio AVFoundation ApplicationServices AudioToolbox CFCGTypes CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreFoundationBase CoreGraphics CoreImage CoreMIDI CoreML CoreMedia CoreServices CoreText CoreVideo DiskArbitration Foundation IOKit IOSurface ImageIO MediaToolbox Metal OpenGLCommon QuartzCore Security UniformTypeIdentifiers cups darwin libkern osx posix
1+
depends = AVFAudio ApplicationServices AudioToolbox CFCGTypes CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreFoundationBase CoreGraphics CoreMIDI CoreML CoreMedia CoreServices CoreText CoreVideo DiskArbitration Foundation IOKit IOSurface ImageIO Metal OpenGLCommon Security cups darwin libkern osx posix
22
language = Objective-C
33
package = platform.SoundAnalysis
44
modules = SoundAnalysis
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.StickerFoundation
3+
4+
modules = StickerFoundation
5+
compilerOpts = -framework StickerFoundation
6+
linkerOpts = -framework StickerFoundation
7+
#Disabled: Unavailable
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.StickerKit
3+
4+
modules = StickerKit
5+
compilerOpts = -framework StickerKit
6+
linkerOpts = -framework StickerKit
7+
# The framework is actually empty
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.SwiftUICore
3+
4+
modules = SwiftUICore
5+
compilerOpts = -framework SwiftUICore
6+
linkerOpts = -framework SwiftUICore
7+
#Disabled: Unavailable
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language = Objective-C
2+
package = platform.Translation
3+
4+
modules = Translation
5+
compilerOpts = -framework Translation
6+
linkerOpts = -framework Translation
7+
#Disabled: Swift-only framework

kotlin-native/platformLibs/src/platform/osx/WidgetKit.def.disabled

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ package = platform.WidgetKit
44
modules = WidgetKit
55
compilerOpts = -framework WidgetKit
66
linkerOpts = -framework WidgetKit
7-
#Disabled: Swift-only framework
7+
# The framework has no ObjC API surface

0 commit comments

Comments
 (0)