任何人都知道为什么我从 ibtool 得到这个崩溃?
ibtool --generate-strings-file "my.strings" "myViewController.xib"
结果:
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>Exception while running ibtool: -[NSCFString count]: unrecognized selector sent to instance 0x20055f7e0
Backtrace:
0 0x00007fff81780796 __exceptionPreprocess (in CoreFoundation)
1 0x00007fff8300e0f3 objc_exception_throw (in libobjc.A.dylib)
2 0x00007fff817da110 +[NSObject(NSObject) doesNotRecognizeSelector:] (in CoreFoundation)
3 0x00007fff8175291f ___forwarding___ (in CoreFoundation)
4 0x00007fff8174ea68 _CF_forwarding_prep_0 (in CoreFoundation)
5 0x00000001000ea974 IBAppendStringsfileEntries (in IDEInterfaceBuilderKit)
6 0x00000001000eac4b IBGenerateStringsfile (in IDEInterfaceBuilderKit)