Why am I getting ibtool failed with exit code 255?

前端 未结 30 2333
梦谈多话
梦谈多话 2020-11-29 22:34

All of a sudden I can\'t build my project. I get the following compiler error:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.pl

30条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-29 23:12

    I got this error today on a new project, testing iOS' ARKit via the "Augmented Reality App" project template.

    After moving some .scn files from the root project into the art.scnassets folder, I started getting the code-sign error, and nothing I did was able to resolve it.

    I tried all the suggestions in this thread (clean, clean derived data, restart Xcode, restart the Mac, look in the storyboard files for duplicate IDs)... but what made it work for me, was to:

    • commit and push my changes to my git project
    • hard-reset to the previous commit
    • clean derived data, and run successfully
    • hard-reset back to the most recent commit

    ...and now it worked... so I'm guessing it was some error in XCode's git-handling???

提交回复
热议问题