Where is pngcrush for Xcode 4.3?

后端 未结 4 519
执笔经年
执笔经年 2021-02-08 07:27

There was an Apple-customized version of pngcrush in every version of Xcode before 4.3. I can\'t find it in Xcode 4.3. Is it still available as a standalone e

4条回答
  •  -上瘾入骨i
    2021-02-08 07:54

    If you are using app crush.rb with Xcode 4.3, and you get the error:

    sh: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush: No such file or directory

    As Yozone said, change the first declaration to:

    pngcrush = '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush'
    

    That will point to the new location of the Xcode files.

提交回复
热议问题