Command /Applications/Xcode-beta.app/Contents/Developer/usr/bin/actool failed with exit code 255

前端 未结 10 1811
轻奢々
轻奢々 2021-02-13 22:59

It happens in new Xcode7 beta:

CompileAssetCatalog /Users/admin/Library/Developer/Xcode/DerivedData/InstaAd-ddgdnbxlpxipirebpndfmgrxspel/Build/Products/Debug-iph         


        
相关标签:
10条回答
  • 2021-02-13 23:11

    Sometimes you should uncheck de "alpha" option to export your png images to Xcode. That solve my problem.

    Open "Preview" app - File - Export - Uncheck "alpha" option, then replace your old images in Xcode project.

    0 讨论(0)
  • 2021-02-13 23:15

    Simple restart of Xcode fixed the error for me.

    0 讨论(0)
  • 2021-02-13 23:17

    Had this actool error building a simple Sticker Pack in Xcode 8 Beta 6.

    Seems to be a known error with animated stickers that should be fixed soon.

    0 讨论(0)
  • 2021-02-13 23:18

    That happened because of JPG images in assets catalog, so I imported jpg images directly in the project, and now it works

    0 讨论(0)
  • 2021-02-13 23:18

    This error happened with me because the image name contained some unsupported characters (it was saved by Xcode as c71a25e%2FÍcone-XPTO Imagem - 120x120.png, even when placed in .xcassets).

    Changing the image name solved this error for me.

    0 讨论(0)
  • 2021-02-13 23:18

    For all beta versions of Xcode you should go to Preferences->Locations and make sure that the command line tools point to the right version & that the Derived data and Archives point in a different folder that stable Xcode is

    0 讨论(0)
提交回复
热议问题