I create a project with the following command:
cocos new “My Game” -l cpp -p com.mycompany.game
If I have a space in my project name (for example: “My Game”), then the following command results in a Cmake error:
cmake …/… -GXcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos
If I create a fresh project with the name “MyGame”, then cmake succeeds.
Any idea what I need to do so I can create projects with spaces in the name?