Erik Živković
Erik Živković
It does include that, but it's not enough (at least not in my case) # Commands UniFFI ```shell cargo run --bin uniffi-swift \ -- \ "./target/$build_arch/$build_target/libmy_ios.a" "./target/generated/uniffi" \ --swift-sources \...
Commenting out this block makes no difference to my build: ```swift #if canImport(my_data_adapterFFI) import my_data_adapterFFI #endif ``` The only difference when not using `--module-name` is that the module name becomes...
Please note that I am using multiple crates that all do `uniffi::setup_scaffolding!("my_some_unique_name");`. I suppose if I just had _one crate_ and it had the _same name as the module_ the...
Summary of my knowledge so far: * `canImport(something)` - `something` needs to be a _module name_, and the import statement inside the guard needs to also be a module name....
@bendk `uniffi_bindgen_swift` doesn't seem to even have a `--config` option?
@bendk The first thing I tried was putting a file there, I probably did something wrong, because it didn't "take". Do I need to run `uniffi_bindgen_swift` with a certain path...
Alright, so I don't know if calling it from the right path was the trick, or if I was just confused earlier, but something changed now that I did -...