{"repo":"TimNN/cargo-lipo","free":true,"listed":false,"github":"https://github.com/TimNN/cargo-lipo","clone":"git clone https://github.com/TimNN/cargo-lipo.git","description":"Cargo subcommand to automatically create universal libraries for iOS.","language":"Rust","stars":569,"topics":["rust","build-tool","cargo"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"cargo lipo Provides a cargo lipo subcommand which automatically creates a universal library for use with your iOS application. Maintenance Status Please consider this project deprecated / passively maintained. This is partly because I am not currently working on any iOS projects, and partly because I believe that there exists a better alternative to using lipo : One can use architecture (and OS) specific environment variables in Xcode. The OS specific part could be configured in the Xcode project editor last time I tried, but the architecture specific part needed to be added by manually editing the project.pbxproj file, for example like this: Thus, I believe that a future iOS support crate should offer primarily two features: Something similar to the current --xcode-integ flag. Something which can do the project.pbxproj editing. Usage From anywhere you would usually run cargo you can now run cargo lipo or cargo lipo --release to create a universal library for ios, which can be found in $target/universal/{release debug}/$lib name.a . Make sure you have a library target in your Cargo.toml with a crate type of staticlib : Xcode Integration cargo-lipo easily integrates with Xcode. For XCode 13, here is a recipe for the integration, assuming that your myproject crate (that has the static library) is a sibling of your XCode project directory and that your build library is libmystatic.a . 1. Add a new \"Run Script\" phase to your \"Build Phases\" . Place it before \"Compile Sources\" . Na","default_branch":null,"files":null,"tree":[],"storefront":"/r/TimNN","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TimNN/cargo-lipo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}