2013-08-07 203 views
0

我想繪製3D立方體並旋轉它。我發現這裏的一個項目(Where to start openGL ES to create and rotate a cube in an iPhone?),但有4個錯誤: /用戶/ Zyage /庫/開發商/ Xcode中/ DerivedData/CubeExample-繪製3D立方體並旋轉它

cpuqdsorzrsxfcckeaidfhlprjed /編譯/中間體/ CubeExample.build /調試,iphonesimulator/CubeExample.build/Script-BC9587F7117F8CF400BBB1C8.sh:第4行: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool: 沒有這樣的文件或目錄 /Users/Zyage/Library/Developer/Xcode/DerivedData /CubeExample-cpuqdsorzrsxfcckeaidfhlprjed/Build/Intermediates/CubeExample.build/Debug-iphonesimulator/CubeExample.build/Script-BC9587F7117F8CF400BBB1C8.sh:line 5: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/tex turetool: 沒有這樣的文件或目錄 /Users/Zyage/Library/Developer/Xcode/DerivedData/CubeExample-cpuqdsorzrsxfcckeaidfhlprjed/Build/Intermediates/CubeExample.build/Debug-iphonesimulator/CubeExample.build/Script-BC9587F7117F8CF400BBB1C8.sh:7號線: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool: 沒有這樣的文件或目錄 /Users/Zyage/Library/Developer/Xcode/DerivedData/CubeExample-cpuqdsorzrsxfcckeaidfhlprjed/Build/Intermediates/CubeExample.build /Debug-iphonesimulator/CubeExample.build/Script-BC9587F7117F8CF400BBB1C8.sh:行8: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool: 沒有這樣的文件或目錄

你知道嗎,我該如何解決它?

+0

錯誤說:有是一個名爲'texturetool'的丟失目錄。 – null

回答

4

由於Xcode成爲一個單獨的應用程序,/ Developer文件夾被刪除,像texturetool之類的東西被放置在Xcode應用程序包中。新texturetool路徑是:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool 

你需要進入構建階段>運行腳本和第一線的改變:

TEXTURE_TOOL=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool 

要:

TEXTURE_TOOL=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool