Skip to content

Commit f3caa09

Browse files
PatriceJiangminggo
authored andcommitted
code review update: cmake ios simulator limitation MacOS 10.15 (#20120)
1 parent 860b537 commit f3caa09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ cmake .. -GXcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos
6060
open Cocos2d-x.xcodeproj
6161
```
6262

63-
The parameter `-DCMAKE_OSX_SYSROOT=iphoneos` is optional, it generates a build for running on the iOS device. If you want to run in the simulator, please add `-DCMAKE_OSX_SYSROOT=iphonesimulator`, but remember you can't run a metal-support app in the simulator until Xcode 11.
63+
The parameter `-DCMAKE_OSX_SYSROOT=iphoneos` is optional, it generates a build for running on the iOS device. If you want to run in the simulator, please add `-DCMAKE_OSX_SYSROOT=iphonesimulator`, but remember you can't run a metal-support app in the simulator until Xcode 11 and MacOS 10.15.
6464

6565
if you want to sign iOS app in CMake, you will need to fill development team ID into `set_xcode_property(${APP_NAME} DEVELOPMENT_TEAM "")`, or select to sign in Xcode after project files generated.
6666

@@ -111,4 +111,4 @@ If you want to add cmake build arguments, please add it at [external Native Buil
111111

112112
* CMake Documentation: [cmake.org/documentation](https://cmake.org/documentation/)
113113

114-
* CMake FAQ: [Wiki/CMake_FAQ](https://cmake.org/Wiki/CMake_FAQ)
114+
* CMake FAQ: [Wiki/CMake_FAQ](https://cmake.org/Wiki/CMake_FAQ)

0 commit comments

Comments
 (0)