From f382a8b2ed55d143e34f79bbcf59025eadbd9d23 Mon Sep 17 00:00:00 2001 From: Bubio Date: Mon, 13 Dec 2021 18:50:16 +0900 Subject: [PATCH] Update iOS Build Descriptions. - Correct the path of CMAKE_TOOLCHAIN_FILE to the correct one. --- docs/building.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/building.md b/docs/building.md index 89d3308f5..bd4f5abe1 100644 --- a/docs/building.md +++ b/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.