mirror of https://github.com/axmolengine/axmol.git
fix ios readme build device description
if none arch has been defined,then you can use "xcodebuild -scheme "lua-empty-test" -sdk iphonesimulator SYMROOT=." to compile the simulator ,or,You can use 'xcodebuild -scheme "lua-empty-test" -sdk iphoneos SYMROOT=.' to build in ios device。 The Xcode Architectures will show "Standard architecture"
This commit is contained in:
parent
d1f0a287ac
commit
44fb557458
|
@ -80,7 +80,7 @@
|
||||||
```sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer```
|
```sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer```
|
||||||
3. Generate xcode project
|
3. Generate xcode project
|
||||||
```sh
|
```sh
|
||||||
# for device arm64
|
# for any device
|
||||||
cmake -S . -B build -GXcode -DCMAKE_TOOLCHAIN_FILE=cmake/ios.mini.cmake
|
cmake -S . -B build -GXcode -DCMAKE_TOOLCHAIN_FILE=cmake/ios.mini.cmake
|
||||||
|
|
||||||
# for device combined armv7,arm64
|
# for device combined armv7,arm64
|
||||||
|
|
Loading…
Reference in New Issue