Skip to content

ios build problems #3

@bartschuller

Description

@bartschuller

Hi,

Thanks for the work you're putting into this. I'm following along with your tutorial and I encountered two problems, one of which I could fix.

The cargo-lipo step failed with the following on an M4 Mac:

error[E0463]: can't find crate for `core`
  |
  = note: the `x86_64-apple-ios` target may not be installed
  = help: consider downloading the target with `rustup target add x86_64-apple-ios`

so that was easy to fix. But then when these two commands finished succesfully:

cargo lipo --release
cargo build --release --target aarch64-apple-ios-sim

I couldn't open the ios project in XCode because auth2FFI.h, referenced from https://github.com/typester/auth2/blob/main/ios/Auth2/Bridging-Header.h#L8 is nowhere to be found.

Shouldn't there be a call to uniffi-bindgen somehwere for ios too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions