Questions tagged [ibtool]

For questions about the ibtool binary, which compiles, prints, updates, and verifies Interface Builder documents.

ibtool:

  1. verifies
  2. updates
  3. prints

the contents of an Interface Builder document, generating its output in standard plist format. The tool follows a "read", "modify", "write", "print" order of operations.

Specifying Output:

--write path
Write the resulting Interface Builder document to the specified path.

--output-format format
By default, ibtool provides output in the form of an XML property list. Specifying binary1 will instruct ibtool to output a binary property list. Similarly, xml1 specifies an XML prop-erty property erty list, and human-readable-text specifies human readable text.

Read more

39 questions
17
votes
10 answers

How to fix ibtool failed with exit code 255

I have never encountered this problem before. The application used to run perfectly but now it always says this error. I have tried cleaning and rebooting. I have tried resetting IOS Simulator. I have tried deleting derived data. This is what it…
user2947604
  • 183
  • 1
  • 1
  • 5
16
votes
2 answers

How can I extract all localizable strings from all XIB files into one file?

I am looking for a way of extracting all localizable strings from .xib files and have all of them saved in a single file. Probably this involves ibtool but I was not able to determine a way of merging all these in only one translation dictionary…
sorin
  • 161,544
  • 178
  • 535
  • 806
9
votes
2 answers

XCode: Interface Builder crashes while compiling XIB

When i compile my app with the command line tool xcodebuild (XCode 4.2.1 - iOS SDK 5.0) randomly the ibtoold (Interface Builder) crashes. When i rerun the build everything works fine. The following error happens: ibtoold[88134:107] [MT]…
x2on
  • 2,267
  • 3
  • 24
  • 44
8
votes
4 answers

Avoid translating standard menus items in XCode project

I have an XCode project, with the XIB interface files built using Interface Builder. I'm building localized XIB files by using ibtool to extract strings, translating them, and using ibtool again to build localized XIB files. However, doing this…
F'x
  • 12,105
  • 7
  • 71
  • 123
7
votes
2 answers

How does incremental localization work?

I'm trying to build my first localized application. I have all the strings in code translated using NSLocalizedString (for use with genstrings tool). Now I'm bumping into ibtool. How does incremental localization work? Regarding to the manual page,…
Eimantas
  • 48,927
  • 17
  • 132
  • 168
7
votes
4 answers

How to fix ibtool failed with Main.storyboard error: shouldBeArchived unrecognized

I have never encountered this problem before. The application used to run perfectly but now it always says this error. I have tried cleaning and rebooting. I have tried resetting IOS Simulator. I have tried deleting derived data. This is what xcode…
Zeus
  • 128
  • 1
  • 11
6
votes
1 answer

What are "other storyboard compiler flags" in Xcode5

I'm maintaining an interesting application (target iOS6). After fixing all existing compiler warnings and lots of other stuff found by static code analyzers, I'm running short of warnings to fix. Already added -Wall and -Werror, not very keen to add…
JOM
  • 8,139
  • 6
  • 78
  • 111
6
votes
1 answer

why CPU is utilizing this much when I run xcode

Below is the screenshot of CPU utilization. Just curious what are those Interface Builder Cocoa Touch Tool & ibtoold process. Because of this, to run app, it takes me around 1 min least. Note: I am using xcode 5 I see that this happens when there…
Fahim Parkar
  • 30,974
  • 45
  • 160
  • 276
5
votes
1 answer

What does ibtool do in the compiling and linking storyboards phase and how the result of linked storyboards work with executable?

I've been researching the build process of an iOS app. I created a "Single view application" project and built in Xcode 8.2.1. While I was looking at the build report, I noticed Xcode compiles and links .m files using clang, and then compiles and…
kazuochi
  • 230
  • 1
  • 3
  • 11
5
votes
1 answer

ibtool error when linking storyboard references: The file "Info.plist" couldn't be saved in the folder *.storyboardc

I'm using Xcode 7.0 beta 4, and recently split my single Main.storyboard into a series of storyboards connected by storyboard references (newly available in Xcode 7). When building, I receive the following "Interface Builder Storyboard Linker…
Stuart
  • 36,683
  • 19
  • 101
  • 139
5
votes
4 answers

IBTOOL error 255 in XCODE 5 / work fine in XCODE 4

I want to open and compil my project in XCODE 5 and i have an issue. IBTOOLS error 255. Does anybody have a idea for fix ? I try all the answered of StackOverFlow, but nothing was good for the case. Alex. CompileStoryboard…
4
votes
1 answer

ibtool generates .strings file that are unreadable in xcode

I'm using the ibtool to localize my nibs. I run the following command: ibtool --generate-strings-file MainMenu.strings en.lproj/MainMenu.nib I then add the generated .strings file to the xcode project so that I can reference and edit it…
halbert
4
votes
1 answer

Xcode 6..0.1 fails to compile storyboard

I just upgraded my Xcode to 6.0.1 and I am not able to compile anymore. Xcode build is failing with following error: nwi_state: registration failed (1000000) 2014-09-18 12:46:28.977 Interface Builder Cocoa Touch Tool[19152:359412] The view…
Vibhor Goyal
  • 2,405
  • 2
  • 22
  • 35
4
votes
1 answer

XCode ibtool command looking for non-existing directory

I am trying to use the ibtool command-line utility. I have opened Terminal in the project directory, where the .xib I want to process is, and I wrote the command as stated in Apple's documentation: ibtool --generate-strings-file MainMenu.strings…
AppsDev
  • 12,319
  • 23
  • 93
  • 186
4
votes
0 answers

How can I detect errors like missing images in a storyboard?

Sometimes I can't be noticed missing images and missing IBActions when I'm continuously refactoring file names and method names. What I can find is following which is an example usage of ibtool: ibtool --warnings --errors --notices file.nib >…
kawty
  • 1,656
  • 15
  • 22
1
2 3