Skip to content

Commit c5a43fc

Browse files
authored
Merge branch 'master' into new_version
2 parents 6d27f52 + 096778e commit c5a43fc

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed
File renamed without changes.

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Tested with the following combinations:
99
* XCode 5.x, iOS SDK 7
1010
* XCode 6.1.x, iOS SDK 8.1
1111
* XCode 8.2.x, iOS SDK 10.2
12-
* XCode 9.0.x, iOS SDK 11.0
12+
* XCode 9.2.x, iOS SDK 11.2
1313

1414
# Example usage
15-
**NOTE: 64-bit simulator ONLY! Change the `-DIOS_PLATFORM` to applicable value if targeting other platform.**
15+
**NOTE: The below commands will build for 64-bit simulator only. Change the `-DIOS_PLATFORM` to the applicable value if targeting another platform.**
1616

1717
```bash
1818
cd example
@@ -23,23 +23,29 @@ make
2323
make install
2424
```
2525

26-
This will create an XCode project in build directory where the example can be modified.
26+
This will build and install the library for the given IOS_PLATFORM.
2727

2828
## Options
2929

30-
* Set `-DIOS_PLATFORM` to "SIMULATOR" (example above) to build for iOS simulator 32 bit (i386)
31-
* Set `-DIOS_PLATFORM` to "SIMULATOR64" to build for iOS simulator 64 bit (x86_64)
30+
* Set `-DIOS_PLATFORM` to "SIMULATOR" to build for iOS simulator 32 bit (i386)
31+
* Set `-DIOS_PLATFORM` to "SIMULATOR64" (example above) to build for iOS simulator 64 bit (x86_64)
3232
* Set `-DIOS_PLATFORM` to "OS" to build for Device (armv7, armv7s, arm64)
3333
* Set `-DIOS_PLATFORM` to "TVOS" to build for tvOS (arm64)
3434
* Set `-DIOS_PLATFORM` to "SIMULATOR_TVOS" to build for tvOS Simulator (x86_64)
3535

3636
### Additional Options
37-
`-DENABLE_BITCODE=(BOOL)` - Enabled by default, specify FALSE or 0 to disable
38-
`-DENABLE_ARC=(BOOL)` - Enabled by default, specify FALSE or 0 to disable
39-
`-DIOS_ARCH=(STRING)` - Valid values are: armv7, armv7s, arm64, i386, x86_64. By default builds for all valid architectures based off `DIOS_PLATFORM` (see above)
37+
`-DENABLE_BITCODE=(BOOL)` - Enabled by default, specify FALSE or 0 to disable bitcode
4038

41-
__*The resulting binary will be a fat library. To combine all platforms into the same, use the LIPO tool. More information on this is available on the net.*__
39+
`-DENABLE_ARC=(BOOL)` - Enabled by default, specify FALSE or 0 to disable ARC
40+
41+
`-DIOS_ARCH=(STRING)` - Valid values are: armv7, armv7s, arm64, i386, x86_64. By default it will build for all valid architectures based on `-DIOS_PLATFORM` (see above)
42+
43+
__*The resulting binary will consist of only one platform. To combine all platforms into the same fat-library, use the LIPO tool. More information on this is available on the net.*__
4244

4345
## Thanks To
4446

4547
* [natbro](https://github.com/natbro) for adding tvOS support
48+
49+
## Notes
50+
51+
Parts of the original toolchain comes from a similar project found on code.google.com

0 commit comments

Comments
 (0)