gar*_*ris 6 iphone xcode objective-c pvrtc ios
我正在完成一本iphone 3d编程书
本书说要将以下python代码添加到xcode的构建阶段,以运行提供的texturetool.
书报价
一个.将shell保留为/ bin/sh.
湾 直接在脚本框中输入:
Run Code Online (Sandbox Code Playgroud)BIN=${PLATFORM_DIR}/../iPhoneOS.platform/Developer/usr/bin INFILE=${SRCROOT}/Textures/Grid16.png OUTFILE=${SRCROOT}/Textures/Grid16.pvr ${BIN}/texturetool -m -f PVR -e PVRTC $INFILE -o $OUTFILE
C.将其添加到输入文件:
Run Code Online (Sandbox Code Playgroud)$(SRCROOT)/Textures/Grid16.png
将其添加到输出文件:
Run Code Online (Sandbox Code Playgroud)$(SRCROOT)/Textures/Grid16.pvr
但是,在执行此操作时,我收到以下消息.
Failed to load image
Failed to perform Encode
Command /bin/sh failed with exit code 1
Run Code Online (Sandbox Code Playgroud)
任何人都可以对此有所了解吗?
归档时间: |
|
查看次数: |
1474 次 |
最近记录: |