You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Tested with the following combinations:
12
12
* XCode 9.2.x, iOS SDK 11.2
13
13
14
14
# 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.**
16
16
17
17
```bash
18
18
cd example
@@ -23,24 +23,24 @@ make
23
23
make install
24
24
```
25
25
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.
27
27
28
28
## Options
29
29
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)
32
32
* Set `-DIOS_PLATFORM` to "OS" to build for Device (armv7, armv7s, arm64)
33
33
* Set `-DIOS_PLATFORM` to "TVOS" to build for tvOS (arm64)
34
34
* Set `-DIOS_PLATFORM` to "SIMULATOR_TVOS" to build for tvOS Simulator (x86_64)
35
35
36
36
### Additional Options
37
-
`-DENABLE_BITCODE=(BOOL)` - Enabled by default, specify FALSE or 0 to disable
37
+
`-DENABLE_BITCODE=(BOOL)` - Enabled by default, specify FALSE or 0 to disable bitcode
38
38
39
-
`-DENABLE_ARC=(BOOL)` - Enabled by default, specify FALSE or 0 to disable
39
+
`-DENABLE_ARC=(BOOL)` - Enabled by default, specify FALSE or 0 to disable ARC
40
40
41
-
`-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)
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
42
43
-
__*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.*__
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.*__
0 commit comments