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
3
votes
1 answer

doesNotRecognizeSelector exception while running ibtool on a xib resource files

Anyone knows why I get this crash from the ibtool? ibtool --generate-strings-file "my.strings" "myViewController.xib" Result: 2011-04-18 17:49:41.848 ibtoold[32147:107] -[NSCFString count]: unrecognized selector sent to instance 0x20055f7e0
sorin
  • 161,544
  • 178
  • 535
  • 806
2
votes
2 answers

Compile Failed Storyboard

Output in Log: ibtoold(1642,0x7fff78b64960) malloc: error for object 0x7fbf38056a08: incorrect checksum for freed object - object was probably modified after being freed. set a breakpoint in malloc_error_break to debug Command…
Nate Hat
  • 408
  • 4
  • 11
2
votes
1 answer

Can't compile after upgrade: Failed to find integrator bundle for class NSTextFinder

I just upgraded to Lion and the latest build of monotouch and now I received the following when trying to build any project - even just an empty project from the templates. Has anyone ever seen this before? It doesn't look like I need to do…
2
votes
1 answer

why does ibtool fail to import the UTF-16 stringsfile into nib?

I have a very strange issue with ibtool and localizations: I used this command to export the stringsfiles: ibtool --export-strings-file XibLoc.strings SomeXib.xib then I tried to import the strings into a Xib file to produce localized…
justadreamer
  • 2,410
  • 2
  • 21
  • 24
2
votes
1 answer

Import localizable.strings into XIB

I am currently refactoring an Xcode project for Interface Builder and I am looking for a way to import strings in existing localizable.strings files into newly-created XIB files that use the same strings. I have tried Xcode’s XLIFF export/import…
Eitot
  • 186
  • 1
  • 11
2
votes
1 answer

Cannot compile Storyboard for iOS 7

We have a Swift project for an UIKit app that is using Storyboards. Everything was fine until I decided to lower the Minimum deployment target of the app to iOS 7. When building the app I hit an assert in the ibtool which is trying to compile the…
Dunbar
  • 401
  • 5
  • 9
2
votes
0 answers

ibtool to update .strings from .strings?

Is it possible to use ibtool to update a localized .strings file with an updated .strings file from the original language? Concrete use case: We have one base .xib, and multiple .strings files for each language All strings files are translated for…
ATV
  • 4,116
  • 3
  • 23
  • 42
2
votes
2 answers

How to fix ibtool failed with exit code 255 error xcode 5

Command: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool failed with exit code 255 Getting the above error in xcode 5 I am having both xcode 5 and 6. I tried all the solutions in google, I…
2
votes
1 answer

Xcode 6 beta 4 Build error - just created app : "Command ibtool failed with code 255"

In order to start learning Swift, I installed Xcode 6. I created a "Mobile App" Project and just built it. Without writing any code, I have the following build error :…
Greg Ballot
  • 203
  • 2
  • 8
1
vote
1 answer

iOS: How to localize bunch .xib files using localized strings files by one ibtool command

I have this folder pattern: -Xib --en.lproj --- 1.xib --- 2.xib --- 3.xib --ar.lproj --- 1.xib.strings --- 2.xib.strings --- 3.xib.strings How to inject the localized strings files in ar.lprog into the english xib files in en.lprog IN ONE ibtool…
Ahmed Said
  • 1,285
  • 5
  • 16
  • 28
1
vote
1 answer

How do I apply changes to a localized XIB that's been "tweaked" already?

Say I modify the default XIB (in en.lproj) by adding a button or something similar. I need to apply these changes to other existing localized versions of the XIB (e.g. es.lproj, ja.lproj). If I rewrite the XIB then I clearly lose any tweaks made to…
z8000
  • 3,715
  • 3
  • 29
  • 37
1
vote
1 answer

macOS - Compile xib with UI elements newer than the deployment target

I want to use an NSGridView in a .xib file for a custom view. NSGridView's are only available on macOS 10.12 and later, but my app runs on macOS 10.11 and later. So when compiling my application I get an error at the stage, where the .xib files are…
Codey
  • 1,131
  • 2
  • 15
  • 34
1
vote
0 answers

Why does the following line crash ibtool?

By removing code and trail and error, I found the following line in my .xib file crashes ibtool in Xcode 6.3.1. Within the following block:
Roland Rabien
  • 8,750
  • 7
  • 50
  • 67
1
vote
3 answers

Compile errors on storyboard after upgrade Xcode to 6.3

The storyboard file was previously created with Xcode6.0, after upgraded Xcode to 6.3. Compile errors jumps out with obscure error messages. I have spent hours on searching but still haven't figure out what/where exactly the problematical items are…
loongman
  • 74
  • 8
1
vote
1 answer

Script to convert all XIBs to the new Xcode 5 XML format

I need to convert all the xibs in my app from the older 4.x XML format to the Xcode 5 format. I can do this manually by opening all the xibs in my app, for each language (which amounts to 170+ xibs...). Or I could use the ibtool from Apple which…
Gui13
  • 12,993
  • 17
  • 57
  • 104