About the development framework, according to the information retrieved on the internet, I feel that the ios game development framework of cocos2d-x is very good, and there is a strong portability, so I plan to try it.
As of this article, the latest cocos2d-x version is v3.0 stable version (just released a few days ago), for: http://www.cocos2d-x.org/filedown/cocos2d-x-3.0-cn
The installation method is as follows:
1. decompress the compressed program package (the path cannot contain Chinese characters, because it is python, you know ...)
2, sudo python setup. py install the cocos2d-x, follow the prompts to do some small settings
3. Follow the prompts for installation.
Please execute command: "source/Users/*** (your username)/. bash_profile" to make added system variables take effect. copy and paste the command part and press Enter.
4. Create an ios project:
Cocos new helloworld-p com. cwbeta. helloworld-l cpp-d ~
New indicates a new project.
Helloworld is the project name
-P is the package name.
-L is the development language used. Here I use c ++
-D is the location where the created project directory is stored. It is determined based on your preferences (for example,-d ~ /Documents/ios)
5. Open helloworld. xcodeproj () in the proj. ios_mac folder in your project directory ():
6. Here you can change the device you are using (I chose ipad)
7. Then you can directly choose Product-Run. The following figure shows the effect of Hello world: