objective c - Drawing a 3D Cube and rotate it -
i want draw 3d cube , rotate it. found here project ( where start opengl es create , rotate cube in iphone? ) there 4 errors: /users/zyage/library/developer/xcode/deriveddata/cubeexample-
cpuqdsorzrsxfcckeaidfhlprjed/build/intermediates/cubeexample.build/debug-iphonesimulator/cubeexample.build/script-bc9587f7117f8cf400bbb1c8.sh: line 4: /developer/platforms/iphoneos.platform/developer/usr/bin/texturetool: no such file or directory /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/texturetool: no such file or directory /users/zyage/library/developer/xcode/deriveddata/cubeexample-cpuqdsorzrsxfcckeaidfhlprjed/build/intermediates/cubeexample.build/debug-iphonesimulator/cubeexample.build/script-bc9587f7117f8cf400bbb1c8.sh: line 7: /developer/platforms/iphoneos.platform/developer/usr/bin/texturetool: no such file or directory /users/zyage/library/developer/xcode/deriveddata/cubeexample-cpuqdsorzrsxfcckeaidfhlprjed/build/intermediates/cubeexample.build/debug-iphonesimulator/cubeexample.build/script-bc9587f7117f8cf400bbb1c8.sh: line 8: /developer/platforms/iphoneos.platform/developer/usr/bin/texturetool: no such file or directory
do know, how can fix it?
since xcode became separate app /developer folder removed , things texturetool placed within xcode app bundle. new texturetool path is:
/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin/texturetool
you need go build phases > run script , change first line from:
texture_tool=/developer/platforms/iphoneos.platform/developer/usr/bin/texturetool
to:
texture_tool=/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin/texturetool
Comments
Post a Comment