https://github.com/bbqsrc/cargo-cocoapods
Bundle Cargo crates for use with macOS/iOS in Xcode
https://github.com/bbqsrc/cargo-cocoapods
Last synced: 4 months ago
JSON representation
Bundle Cargo crates for use with macOS/iOS in Xcode
- Host: GitHub
- URL: https://github.com/bbqsrc/cargo-cocoapods
- Owner: bbqsrc
- License: apache-2.0
- Created: 2021-04-21T22:37:23.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-08-09T12:41:27.000Z (over 2 years ago)
- Last Synced: 2025-05-21T21:13:54.100Z (9 months ago)
- Language: Rust
- Size: 40 KB
- Stars: 39
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# cargo-cocoapods - Build Rust code for Xcode integration
## Installing
```
cargo install cargo-cocoapods
```
You'll also need to install all the toolchains you intend to use. Simplest way is with the following:
```
rustup target add \
x86_64-apple-darwin \
aarch64-apple-darwin \
x86_64-apple-ios \
aarch64-apple-ios \
aarch64-apple-ios-sim
```
Modify as necessary for your use case.
## Usage
Type `cargo pod --help` for information.
### Supported hosts
- macOS (x86_64 and arm64)
## Similar projects
* [cargo-ndk](https://github.com/bbqsrc/cargo-ndk) - for building Android libraries
* [cargo-lipo](https://github.com/TimNN/cargo-lipo) - for building iOS universal Rust libraries
## License
This project is licensed under either of
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
---
[Uyghurs are under attack in Xinjiang.](https://foreignpolicy.com/2019/12/30/xinjiang-crackdown-uighur-2019-what-happened/) The Chinese government is placing millions of people into indoctrination camps and engaging in forced labour.