fix bidgen swift

This commit is contained in:
imWildCat 2023-09-11 11:05:48 -07:00
parent d42e677327
commit 5bd84189b1
1 changed files with 1 additions and 1 deletions

View File

@ -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: