Installation Cocos2d-x on mac

I installed just cocos2d-x 3.10 on OS X. It's simple.

1. Download Cocos2d-x

Here you go.
http://www.cocos2d-x.org/download
You can choose any version, but this time is 3.10.
Zip file one should be easy.

Unzip and then set any directory you want.
Such as.
/User/fnettech/GameEngine/cocos2d-x-3.10

2. Open Terminal.app

Change the directory you set.
$ cd /User/fnettech/GameEngine/cocos2d-x-3.10

3. Run ./setup.py on terminal

Type this below command, and run for installation.
$ ./setup.py
Probably terminal will ask where these paths 3 times, but you can ignore them. This time is simply setup to cocos2d-x. Just press Enter like terminal says.
->Please enter the path of NDK_ROOT (or press Enter to skip):
->Please enter the path of ANDROID_SDK_ROOT (or press Enter to skip):
->Please enter the path of ANT_ROOT (or press Enter to skip):
Then final step to setup, excute source command like this below message.
Please execute command: "source /Users/fnettech/.bash_profile" to make added system variables take effect
*This "source" command might be unnecessary. In my environment, automatically this profile was edited. However I recommend to you do this command just in case.

4. Creating project for testing

Still you need using terminal. I know you don't like this. I agree, we are already in 2016 but continuing to use command line! Anyway...
Change your directory to make your project like this.
$ cd /User/fnettech/Projects
And then, finally run the command of creating cocos2d project.
$ cocos new TestingProject -p com.Testing.TestingProject -l cpp
Open the project directory -> proj.ios_mac -> TestingProject.xcodeproj
This project file will be opened by Xcode.

Ref Link

http://cocos2d-objc.org/migrating-to-x/installing-cocos2d-x-with-xcode-2/