0
運行新的Cocos2D-X項目
我用的Cocos2D-X 3.2創建使用命令一個項目如下:不能適用於iOS
localhost:bin and$ ./ cocos.py new HelloWorldDemo -p com.and -l cpp -d ~/Documents
-bash: ./: is a directory
localhost:bin and$ python cocos.py new HelloWorldDemo -p com.and -l cpp -d ~/Documents
Running command: new
> Copy template into /Users/and/Documents/HelloWorldDemo
> Copying cocos2d-x files...
> Rename project name from 'HelloCpp' to 'HelloWorldDemo'
> Replace the project name from 'HelloCpp' to 'HelloWorldDemo'
> Replace the project package name from 'org.cocos2dx.hellocpp' to 'com.and'
但是當我打開該項目,並嘗試建立它在Xcode,它的回報錯誤如下:
Apple Mach-O Librarian error
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool failed with exit code 1
我檢查了Cocos2d-x網站上的文檔,但找不到任何幫助。請幫忙。非常感謝!
問候,
德韋
感謝考希克!我嘗試使用cocos2d-x-3.0創建一個新項目,並且找到它。我會在稍後嘗試你的建議。 – Deve 2014-10-12 05:53:46