Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/holzschu/ios_system
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Holzschuch committed Feb 11, 2018
2 parents 7160b2e + 88233b2 commit 6c016ae
Show file tree
Hide file tree
Showing 13 changed files with 440 additions and 247 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
osx_image: xcode9.2
language: objective-c

before_install:
- ./get_sources.sh
- ./get_frameworks.sh

script:
- xcodebuild -project ios_system.xcodeproj -alltargets -sdk iphoneos -configuration Debug -quiet
- xcodebuild -project ios_system.xcodeproj -alltargets -sdk iphonesimulator -configuration Debug -quiet
Empty file added Frameworks/frameworks
Empty file.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# ios_system: Drop-in replacement for system() in iOS programs


<p align="center">
<img src="https://img.shields.io/badge/Platform-iOS%2011.0+-lightgrey.svg" alt="Platform: iOS">
<a href="https://travis-ci.org/holzschu/ios_system"><img src="https://travis-ci.org/holzschu/ios_system.svg?branch=master" alt="Build Status"/></a>
<br>
<a href="http://twitter.com/nholzschuch"><img src="https://img.shields.io/badge/[email protected]?style=flat" alt="Twitter"/></a>
</p>


When porting Unix utilities to iOS (vim, TeX, python...), sometimes the source code executes system commands, using `system()` calls. These calls are rejected at compile time, with:
`error: 'system' is unavailable: not available on iOS`.

Expand Down
Loading

0 comments on commit 6c016ae

Please sign in to comment.