You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed once the library is added one can only run the app when running it with rosetta (on apple silicon machines). While this might work, it's dirty. You should compile the library (or download per target .a files). You can then package all of them in an xcframework (because x86 and x86_64 clash and you cannot directly include them) and use the vendored_frameworks capability of cocoapods to require this framework and xcode will compile per architecture.
You can see an example of how to do this (in Rust, but the concept is the same) in this post
The text was updated successfully, but these errors were encountered:
I noticed once the library is added one can only run the app when running it with rosetta (on apple silicon machines). While this might work, it's dirty. You should compile the library (or download per target .a files). You can then package all of them in an xcframework (because x86 and x86_64 clash and you cannot directly include them) and use the
vendored_frameworks
capability of cocoapods to require this framework and xcode will compile per architecture.You can see an example of how to do this (in Rust, but the concept is the same) in this post
The text was updated successfully, but these errors were encountered: