Why am I getting ibtool failed with exit code 255?

前端 未结 30 2007
梦谈多话
梦谈多话 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
    1. Restart Xcode - Didn't Work
    2. Cleaning the App - Didn't Work
    3. Deleting the derivedData - Didn't Work
    4. Reset simulator content and settings - Didn't Work
    5. changing simulator versions - Didn't Work
    6. Restart the OS - Magically Works

    I'm not sure which part did the magic and yes it killed a lot of time.

    0 讨论(0)
  • 2020-11-29 23:12

    Just had this happen after doing some work in the storyboard. I did some undoing and it turned out to be a simple UIButton added to a view. Deleted that and it built without error. Just added a new button and it worked.

    For a little more explanation... The button had been copied from one TVCell prototype to another. some confusion happened in the copy I guess. Just glad I hadn't change much before trying to build.

    0 讨论(0)
  • 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???

    0 讨论(0)
  • 2020-11-29 23:13

    This happen to us and we clean cache, delete Derived data folder.. etc. nothing happen.

    below steps made it fix,

    1. open xib(nib) as Source Code (Right click on the xib Open As > Source Code from Xcode or open it using TextEdit)
    2. remove this appearanceType="aqua"
    3. save and open using Xcode

    For more explain use this article, it help us to fix the issue.

    0 讨论(0)
  • 2020-11-29 23:13

    This is what caused the problem for me: I had attempted to use the iOS 8.0 simulator with Xcode 5.0.2. I had pasted iOS 8.0 simulator in the following path - /Applications/Xcode\ 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs The result of this was that I was able to see iOS 8.1 simulator visible in the dropdown list in Xcode 5.0.2 but this resulted in compilation error of libtool. I removed the simulator from the path and it worked after i restarted Xcode. Now in order to use iOS 8.0 simulator I am using Xcode 6.1

    0 讨论(0)
  • 2020-11-29 23:14

    I was working within a secondary git branch when I encountered the '255' problem.

    I merely switched back to my main git branch, cleaned the project and run. No problems as I had expected.

    Then I switched back to the 'problem' git branch and rebuild it with success.

    Gremlins.

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