Xcode7本地化plist文件崩溃

时间:2015-09-24 01:53:09

标签: ios objective-c xcode localization

我需要为我的项目本地化我的plist文件和字符串文件。但是,当我尝试在文件检查器中为.plist文件选择其他语言时,Xcode将崩溃。

Parent Process:        ??? [1]
Responsible:           Xcode [1981]
User ID:               501

Date/Time:             2015-09-24 11:47:52.069 +1000
OS Version:            Mac OS X 10.10.4 (14E46)
Report Version:        11
Anonymous UUID:        XXXXXXXXXXX


Time Awake Since Boot: 7500 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
ProductBuildVersion: 7A220
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[NSPathStore2 stringByAppendingPathExtension:]: nil argument
UserInfo: (null)
Hints: None
Backtrace:
  0  0x00007fff89f71024 __exceptionPreprocess (in CoreFoundation)
  1  0x0000000102627744 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff87bc376e objc_exception_throw (in libobjc.A.dylib)
  3  0x00007fff89f70eed +[NSException raise:format:] (in CoreFoundation)
  4  0x00007fff90f257e3 -[NSPathStore2 stringByAppendingPathExtension:] (in Foundation)
  5  0x000000010c5ae87c -[Xcode3VariantGroup proposedFilePathForLocalization:fileType:] (in DevToolsCore)
  6  0x000000011281dc8c -[Xcode3LocalizationCommands 

任何人都有与Xcode7相同的问题吗?

PS:使用相同的方法本地化.string文件可以正常工作。

1 个答案:

答案 0 :(得分:0)

遇到同样的问题。 Xcode 7.1 beta 2似乎已经修复了。