Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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