Running on an iOS simulator using Xcode

To bring the project onto Mac, you can simply copy the whole Cocos2d-x-2.2.3 folder from your Windows machine and paste it anywhere on the Mac machine and that's all. There are no additional steps required.

If you would like to know how to create the project on Mac, open up the terminal and navigate to Cococs2d-x-2.2.3/tools/project-creator and type the command we typed to create the project in Windows; but here you don't have to type python first:

Running on an iOS simulator using Xcode

To run the game on Xcode on Mac, you will have to first install Xcode on your machine if you haven't already done so. You can click on the store, search for Xcode, ...

Get Learning Cocos2d-x Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.