ibtool

doesNotRecognizeSelector exception while running ibtool on a xib resource files

白昼怎懂夜的黑 提交于 2020-01-04 02:09:13
问题 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 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.ibtool.errors</key> <array> <dict> <key>description</key> <string

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

时光总嘲笑我的痴心妄想 提交于 2019-12-13 12:07:33
问题 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 build it says: CompileStoryboard AITEST/Base.lproj/Main.storyboard cd /Users/tinkl/Documents/project-xcode/testProject/AITEST export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:(null)/Users

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

China☆狼群 提交于 2019-12-09 18:25:58
问题 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 Safetracer/MainStoryboard.storyboard cd /Users/alexandrepestre/Documents/ThinkMyApp/Lixao/Safetracer setenv IBSC_MINIMUM_COMPATIBILITY_VERSION 6.1 setenv PATH "/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode 2

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

送分小仙女□ 提交于 2019-12-04 08:30:35
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 Safetracer/MainStoryboard.storyboard cd /Users/alexandrepestre/Documents/ThinkMyApp/Lixao/Safetracer setenv IBSC_MINIMUM_COMPATIBILITY_VERSION 6.1 setenv PATH "/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode 2.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" setenv XCODE_DEVELOPER_USR_PATH "

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

笑着哭i 提交于 2019-12-04 04:04:48
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 build it says: CompileStoryboard AITEST/Base.lproj/Main.storyboard cd /Users/tinkl/Documents/project-xcode/testProject/AITEST export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:(null)/Users/tinkl/.gem/ruby/2.0.0(null):(null)/Library/Ruby/Gems/2.0.0(null):(null)/System/Library/Frameworks/Ruby

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

匆匆过客 提交于 2019-11-29 21:06:26
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 (could be .strings , .plist or something else). Open terminal and cd to the root directory of the project (or directory where you store all XIB files) and type in this command: find . -name \*.xib | xargs -t -I '{}' ibtool --generate-strings-file '{}'.txt '{}' The magic is the find and xargs commands working together. -I option generates placeholder.

How does incremental localization work?

我的梦境 提交于 2019-11-28 23:23:00
问题 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, I should write something like this: $ ibtool --previous-file path/to/prev.xib \ --incremental-file path/to/inc.xib --localize-incremental \ --write path/to/new.xib mod.xib Where do I get the incremental file? To my understanding if I'm using the

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

◇◆丶佛笑我妖孽 提交于 2019-11-28 18:05:09
问题 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 (could be .strings , .plist or something else). 回答1: Open terminal and cd to the root directory of the project (or directory where you store all XIB files) and type in this command: find . -name \*.xib | xargs -t -I '{}' ibtool --generate-strings-file