Start now:
People who can see this blog start with nonsense. They must have been suffering from a terrible task. However, you can rest assured that your happy time is about to begin. I am ten-inch, it is one of the thousands of programmers who put the solutions to the problems I encountered here, so that thousands of programmers have a home, never encounter the same problem as me. Long live! Long live programmers !!!
After installing the cocos2d-x xcode does not display the template of the students, you must use the black Apple have wood! I tell you, this problem is caused by the administrator privilege of apple! Then how can we solve the problem perfectly ~~~
1, first of all to ensure that your cocos2d-x has copied the corresponding template to the xcode template directory, open your Finder to see ~ /Library/Developer/Xcode/Templates/the directory has wood cocos2d-x folder on the know
2. Shenma? You said the Finder could not be found? Well, if you want to use a terminal to knock on the command, you will be totally OUT! Open your Finder and press shift + command + G. The hacker from the black apple is shift + win + G). The pop-up window To Go To The folder is displayed! That's him! Enter ~ /Library/to go to your home/library/directory. Another way is to right-click the Finder icon on the Dock and select the "go to folder..." command.
650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1A243H24-0.png "/>
Then you will see ~ /Library/developer/xcode/templates/cocos2d-x/directory should be full of red bars, This is the permission problem, okay, regardless of him, return ~ /Library/directory
3. Go ~ /Library/Developer/Xcode directory, right-click the blank area under the directory, select "show Introduction" to bring up the resource Library introduction window, and pull it to the bottom, what is "share and permission ?!
650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1A2432V0-1.png "/>
Do not worry. First, click the lock in the lower right corner to open the lock setting. Change all user permissions to read and write, and then click the gear button below,
650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1A2432525-2.png "/>
Select "apply to included projects..." and then select "OK" in the pop-up window "!
Wow, the disgusting thing is done, but it's not done yet! You can go to templates/cocos2d-x/and see the red bars with insufficient permissions.
4. log out of your current user, and then log on to the system! The red bars are all gone! Finally, open your xcode ~~~ Yes!
650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1A2432291-3.png "/>
650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1A24361M-4.png "/>
This article from the "Shadows of the moon, the Sea of Shadows" blog, please be sure to keep this source http://abyss.blog.51cto.com/3625755/872386