Browse Source

Update iOS Build Descriptions.

- Correct the path of CMAKE_TOOLCHAIN_FILE to the correct one.
pull/3754/head
Bubio 4 years ago committed by Anders Jenbo
parent
commit
f382a8b2ed
  1. 4
      docs/building.md

4
docs/building.md

@ -53,7 +53,7 @@ Make sure you have [Homebrew](https://brew.sh/) installed, then run:
```bash
brew install cmake
cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=../CMake/ios.toolchain.cmake -DENABLE_BITCODE=0 -DPLATFORM=OS64
cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=../CMake/Platforms/ios.toolchain.cmake -DENABLE_BITCODE=0 -DPLATFORM=OS64
cmake --build build -j $(sysctl -n hw.physicalcpu) --config Release
cd build
rm -rf Payload
@ -65,7 +65,7 @@ zip -r devilutionx.ipa Payload
For testing with the Simulator instead run the following:
```bash
cmake -S. -Bbuild -G Xcode -DCMAKE_TOOLCHAIN_FILE=../CMake/ios.toolchain.cmake -DPLATFORM=SIMULATOR64
cmake -S. -Bbuild -G Xcode -DCMAKE_TOOLCHAIN_FILE=../Platforms/CMake/ios.toolchain.cmake -DPLATFORM=SIMULATOR64
```
Then open the generated Xcode project and run things from there.

Loading…
Cancel
Save