File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -354,8 +354,9 @@ In particular, you may need to define the following environment variables (assum
354354export VULKAN_SDK=/Users/MyName/VulkanSDK/1.3.268.1/macOS
355355export PATH=$VULKAN_SDK/bin:$PATH
356356export DYLD_LIBRARY_PATH=$VULKAN_SDK/lib:$DYLD_LIBRARY_PATH
357+ export VK_ADD_LAYER_PATH=$VULKAN_SDK/share/vulkan/explicit_layer.d
357358export VK_ICD_FILENAMES=$VULKAN_SDK/share/vulkan/icd.d/MoltenVK_icd.json
358- export VK_LAYER_PATH =$VULKAN_SDK/share/vulkan/explicit_layer.d
359+ export VK_DRIVER_FILES =$VULKAN_SDK/share/vulkan/icd.d/MoltenVK_icd.json
359360```
360361
361362Note that environment variables set in the shell are not seen by the applications launched from Launchpad
@@ -400,11 +401,11 @@ If needed, you can provide iOS deployment target (13.0 or later is required) as
400401cmake -S . -B ./build/iOS -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_DEPLOYMENT_TARGET=13.0 -G "Xcode"
401402```
402403
403- :warning : To build for iPhone simulator, set the ` PLATFORM_IOS_SIMULATOR ` CMake flag . You may also use the
404+ :warning : To build for iPhone simulator, use the ` iphonesimulator ` system root . You may also use the
404405` CMAKE_OSX_ARCHITECTURES ` variable to specify target architecture, for example:
405406
406407``` cmake
407- cmake -S . -B ./build/iOSSim -DCMAKE_SYSTEM_NAME=iOS -DPLATFORM_IOS_SIMULATOR=ON -DCMAKE_OSX_ARCHITECTURES=arm64 -G "Xcode"
408+ cmake -S . -B ./build/iOSSim -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=arm64 -G "Xcode"
408409```
409410
410411Open Xcode project file in ` build/IOS ` folder and build the engine. To run the applications on an iOS device,
You can’t perform that action at this time.
0 commit comments