2013-08-07 244 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