Merge pull request #47 from c4games/ios-build-guides

Update README.md
This commit is contained in:
HALX99 2020-02-08 22:33:14 +08:00 committed by GitHub
commit e698c3ed81
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ _USRSTUDIOPDLL
```sh
mkdir build
cd build
cmake .. -GXcode -DCMAKE_TOOLCHAIN_FILE=../cmake/ios.toolchain.cmake -DCMAKE_SYSTEM_NAME=iOS -DPLATFORM=OS -DENABLE_ARC=0
cmake .. -GXcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator
```
之后就可以用xcode打开了