• Register
0 votes

Problem :

All of a sudden I am unable to build my project. I started to get the following compiler error:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool failed with exit code 255

I got this error for a lot of my xib files. Any clues what is happening and what will be the Solution for it?

Please Note : I am using Xcode 4.6 and iOS 6.1.

6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I had experienced the same thing and nobody could resolve the issue for me. I tried by myself and it turned out to be the duplicate UILabel in the storyboard because of  the GIT merge. I found that the Xcode will crash if two UI elements have the same internal ID.

My solution for the issue as follows:

  • Try to step backward through the git history, keep checking out each commit until the first storyboard is found that did not crash the Xcode.
  • After that the commit that started crashing, check out its HEAD and try to revert the storyboard changes in the problem commit. Also continue to narrow it down until you have the one UI element that causes the crash.
  • Now revert the responsible change permanently and also restart the Xcode. Open the storyboard again and you might be warned about an internal inconsistency please agree to the proposed changes the Xcode makes but keep reviewing them.
  • And your issue will be resolved.
9 7 4
38,600 points

Related questions

0 votes
1 answer 7 views
Problem: How can I change the directory at which xcrun is pointing ? currently is pointing to xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode44-DP7.app/Contents/Developer'. (No such file or directory) I need to change the location.
asked Apr 22 Jack20 5.1k points
0 votes
1 answer 563 views
Problem: I am trying to archive my project but facing very unexpected error as shown below: Showing Recent Messages:-1: mkdir -p /Users/spritzindia/Library/Developer/Xcode/DerivedData/Contigo-atftiouzrdopcmcpprphpilawwzm/Build/Products/Debug-iphonesimulator/Contigo.app/Frameworks Showing ... : pod 'IQKeyboardManagerSwift'  pod 'SDWebImage', '~> 4.0'  pod 'KRPullLoader'  pod 'Paytm-Payments'
asked Aug 25, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 54 views
Problem: I am trying to migrate my project to swift 3 and am facing the following problem. I believe this was caused after starting the module update. I am using Xcode 8.2.1. ld: file not found: / Users / tomfox / Library / Developer ... tomfox / Library / Developer / Xcode / DerivedData / Flick_Quiz-ergbsdsnlpucndfmjqybgarjwaam / Build / Products / Debug-iphonesimulator / Flick Quiz.app/.gitkeep
asked Dec 5, 2020 sasha 16.2k points
0 votes
1 answer 18 views
Problem : xcode couldn't find any ios app development provisioning profiles matching
asked Feb 28 Sabbir Hossain 14.6k points
0 votes
1 answer 4 views
Problem: I navigated to my work's codebase in the Command Line on my MacBook pro, typed in "git status" in the repository and received the error:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun.How do I fix git, and command line tools?
asked 5 days ago sumaiya simi 43.9k points
0 votes
1 answer 6 views
Question: In Xcode 6.3, I got this error when trying to run an iOS project written in Swift on a real device. I tried to clean the project and run again, but the same error occurs. How can I fix this error?
asked Apr 18 munim01 21k points
0 votes
1 answer 4 views
Problem: I am trying to rebuild an ios app, that previously had no issues (first rebuild in 6 months or so). Environment is OSX 10.13.5 with all the latest updates, Xcode 9.4.1, Ionic is 3.20.0. Local cordova ... /kerickhowlett/Documents/PhoneProjects/ABM/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/kerickhowlett/Documents/PhoneProjects/ABM/platforms/ios/build/sharedpch What am I missing?
asked Apr 30 muktaa 34.6k points
0 votes
2 answers 152 views
Problem : While trying to compile my C program I encountered following error agreeing to the xcode/ios license requires admin privileges, please re-run as root via sudo.
asked Nov 16, 2019 peterlaw 6.9k points
0 votes
1 answer 4 views
Problem: Xcode-select --install` failing,how to do the solution?
asked Apr 13 Humaira ahmed 50.7k points
0 votes
1 answer 4 views
Problem: Why I got the error > An app id with identifier is not available. please enter a different string.
asked Apr 30 ummeshani 9.5k points