Skip to content

Commit 36ba247

Browse files
authored
Swift bindings add umbrella headers and module maps for Swift xcframework (#28)
1 parent 97ec653 commit 36ba247

9 files changed

Lines changed: 30 additions & 4386 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// This is the "umbrella header" for our combined Rust code library.
2+
// It needs to import all of the individual headers.
3+
4+
#import "OrangeSDKFFI.h"

bindings/swift/OrangeSDKFFI.xcframework/ios-arm64/OrangeSDKFFI.framework/Headers/OrangeSDKFFI.h

Lines changed: 0 additions & 1462 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
framework module OrangeSDKFFI {
2+
umbrella header "OrangeSDKFFI-umbrella.h"
3+
4+
export *
5+
module * { export * }
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// This is the "umbrella header" for our combined Rust code library.
2+
// It needs to import all of the individual headers.
3+
4+
#import "OrangeSDKFFI.h"

0 commit comments

Comments
 (0)