fix bidgen swift
This commit is contained in:
parent
d42e677327
commit
5bd84189b1
|
@ -16,7 +16,7 @@ build-targets:
|
||||||
cargo build --lib --release --target aarch64-apple-ios
|
cargo build --lib --release --target aarch64-apple-ios
|
||||||
|
|
||||||
bindgen-swift:
|
bindgen-swift:
|
||||||
cargo run -p uniffi-bindgen generate --language swift --lib-file $(TARGET_DIR)/aarch64-apple-ios/release/$(STATIC_LIB_NAME) src/hello.udl
|
cargo run -p uniffi-bindgen generate src/hello.udl --language swift
|
||||||
sed -i '' 's/module\ HelloFFI/framework\ module\ HelloFFI/' src/HelloFFI.modulemap
|
sed -i '' 's/module\ HelloFFI/framework\ module\ HelloFFI/' src/HelloFFI.modulemap
|
||||||
|
|
||||||
bindgen-kotlin:
|
bindgen-kotlin:
|
||||||
|
|
Loading…
Reference in New Issue