Why am I getting ibtool failed with exit code 255?

前端 未结 30 2008
梦谈多话
梦谈多话 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:21

    In my case, I was working on Visual Studio. It was all good. All of a sudden, I got the same issue. Then I opened XCode, I saw the updates available. Then I Updated the Xcode updates. Then it worked :)

    So the reason was : XCode expected to complete some updates. Until that, It was not working properly.

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

    I figure out that if you use Xcode for too long without closing it, Xcode will become ultimately unhelpful and giving you random mystery error. so i regularly restart Xcode and all the apps that I`m running on my mac every time a suspicious error appear.

    Xcode Cache
    1st try check all your segue/outlet/storyboard controller class. sometime storyboard would disconnected with the view controller class that has been set. (this might cause run time error).

    2nd try cleaning up you project and goto (~/Library/Developer/Xcode/DerivedData) and delete your project cache. then Force Close Xcode then restart it.

    3rd try check all your segue/outlet/storyboard controller class. sometime storyboard would disconnected with the view controller class that has been set. (this might cause run time error).

    4th try check (copy bundle resource, compile source - Project > Build phase) make sure the file listed is exist with the correct address and folder. sometime creating a group would cause a folder to be create and causing the file cant be found by the compiler

    5th this also might been cause by moved file + Xcode become ultimately unhelpful and giving you random mystery error. and dint update the (copy bundle resource, compile source - Project > Build phase) after the file has change directory

    Personal Mistake. unintended deleting
    this also might have been cause by calling an deleted ViewController or outlet

    0 讨论(0)
  • I had something similar happen to me recently using Xcode 4.6 and iOS 6.1.

    All I did was switch to a different device version (5.1) on the simulator and it ran. Switched back to 6.1 and it fixed itself.

    Xcode can be unhelpful at times.

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

    On XCODE 9 one cause of this is a bug in XCODE 9.1 with old .XIB files.

    Fix:

    1. Upgrade to XCODE 9.2

    2. All your .XIB files should be set to iOS 8.1 version or higher.

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

    I have had the same issue using Visual Studio for Mac (Community, 7.4.2 (build 12)) after an OS update (macOS High Sierra 10.13.4).

    In this case, it seems that you just need to update Visual Studio and Xcode.

    Notice that, of course, Visual Studio doesn't bring Xcode updates, so the "trick" was to open the latter one and let it run the updates.

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

    Try cleaning the app. Cmd-Shft-K.

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