Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coldgrub1384/compile_ios
A helper for porting C projects to iOS
https://github.com/coldgrub1384/compile_ios
c ios macos python-c-api xcode
Last synced: about 4 hours ago
JSON representation
A helper for porting C projects to iOS
- Host: GitHub
- URL: https://github.com/coldgrub1384/compile_ios
- Owner: ColdGrub1384
- Created: 2018-12-31T23:39:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-08T13:08:07.000Z (over 4 years ago)
- Last Synced: 2024-08-01T20:46:01.997Z (3 months ago)
- Topics: c, ios, macos, python-c-api, xcode
- Language: Swift
- Size: 62.5 KB
- Stars: 22
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# compile_ios
This command line program for Mac sets needed environment variables for compiling a C project for iOS arm64.
Great for build Python modules with C shared libraries.
## Requirements
macOS 10.9+ with Xcode and command line tools installed.
## Installation
$ ./install.sh
This will install the command.## Usage
$ iosenv
`iosenv` command will open a shell, you can then build a C project from it for iOS.Projects wil not magically compile! This is just a helper, you will probably need to modify some environment variables to include other Header Search Paths.
## Build result
iOS arm64 (iPhone 5S+, iPad Air+, iPod Touch 6G) binaries. Not for iOS simulator!
## Tested with
- NumPy
- Pandas