Skip to content

bindings: Apple compliant framework distribution#148

Open
lvaccaro wants to merge 2 commits intoBlockstream:masterfrom
lvaccaro:swift-updates
Open

bindings: Apple compliant framework distribution#148
lvaccaro wants to merge 2 commits intoBlockstream:masterfrom
lvaccaro:swift-updates

Conversation

@lvaccaro
Copy link
Copy Markdown
Member

  • creating swift bindings
  • creating a wrapper project with xcodegen, instead maintain a full .xcproject
  • archiving both platforms
  • assembling the final xcframework

Signed-off-by: Luca Vaccaro <me@lvaccaro.com>
@LeoComandini
Copy link
Copy Markdown
Contributor

just-swift gh ci job failed with

      Running `target/debug/lwk_cli generate --library ./target/aarch64-apple-ios/release/liblwk.a --language swift --out-dir ./target/swift`
null
xcodegen generate --spec lwk_bindings/swift/project.yml
sh: xcodegen: command not found
error: Recipe `swift` failed on line 128 with exit code 12

@LeoComandini
Copy link
Copy Markdown
Contributor

with swift ci fixed lgtm

@LeoComandini
Copy link
Copy Markdown
Contributor

is

        - run: brew install xcodegen
        - run: just swift

enough?
@lvaccaro

@lvaccaro
Copy link
Copy Markdown
Member Author

right, it only needs xcodegen as in the Blockstream/lwk-swift#12

Signed-off-by: Luca Vaccaro <me@lvaccaro.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants