当我尝试编辑我的故事板标签的本地化器注释(插入barty Crouch标签#bc-ignore!)时,XCode 9崩溃了.
此外,尝试编辑字体什么都不做.
合并之后,对我来说似乎是一个腐败的故事板.
有没有人面临同样的问题?
编辑,非模棱两可的问题:
是否有修复以避免崩溃或我是否必须手动编辑故事板?
Process: Xcode [66619]Path: /Applications/Xcode.app/Contents/MacOS/XcodeIDentifIEr: com.apple.dt.XcodeVersion: 9.0 (13247)Build Info: IDEFrameworks-13247000000000000~26App Item ID: 497799835App External ID: 823595305Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [66619]User ID: 501Date/Time: 2017-10-03 15:59:00.562 +0200OS Version: Mac OS X 10.12.6 (16G29)Report Version: 12Anonymous UUID: 3A288ABF-30D0-A9E7-A02E-4BBD3B1BABB5Sleep/Wake UUID: 22E57F41-2180-4AB1-AA1D-B1DCF99E683ETime Awake Since Boot: 320000 secondsTime Since Wake: 26000 secondsSystem Integrity Protection: enabledCrashed Thread: 0 dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000,0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific information:ProductBuildVersion: 9A235ASSERTION FAILURE in /library/Caches/com.apple.xbs/Sources/IDEInterfaceBuilder/IDEInterfaceBuilder-13196/InterfaceBuilderKit/UtilitIEs/IBAppKitSupport.m:388Details: UnkNown systemFontType: 132Object: <NSFont: 0x7fc74354c640>Method: -MetaFontThread: <NSThread: 0x7fc73a40f910>{number = 1,name = main}Hints: Backtrace: 0 -[IDEAssertionHandler handleFailureInMethod:object:filename:lineNumber:assertionSignature:messageformat:arguments:] (in IDEKit) 1 _DVTAssertionHandler (in DVTFoundation) 2 _DVTAssertionFailureHandler (in DVTFoundation) 3 -[NSFont(MethodsBasedOnPrivateState) MetaFont] (in IDEInterfaceBuilderKit) 4 -[NSFont(IBdocumentArchiving) archiveWithdocumentArchiver:] (in IDEInterfaceBuilderKit) 5 __51-[IBdocumentArchiver archiveObject:forOptionalKey:]_block_invoke (in IDEInterfaceBuilderKit) 6 -[IBdocumentArchiver recurseWithArchivetoken:usingBlock:] (in IDEInterfaceBuilderKit) 7 -[IBdocumentArchiver recurseWithElementnamed:forObject:kind:invokingBlock:] (in IDEInterfaceBuilderKit)解决方法 即使有一个全新的空项目,它也会在编辑Comment For Localizer时出现问题.这是一个Xcode 9问题.
作为一种解决方法,您可以通过添加此类块(例如,直接位于< label>块内)手动编辑.storyboard文件:
<attributedString key="userComments"> <fragment content="Here goes your comment..."> <attributes> <Font key="NSFont" MetaFont="smallSystem"/> <paragraphStyle key="NSParagraphStyle" alignment="natural" lineBreakMode="worDWrapPing" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/> </attributes> </fragment></attributedString>@H_419_42@ 总结
以上是内存溢出为你收集整理的ios – XCode 9在标签本地化评论版上崩溃全部内容,希望文章能够帮你解决ios – XCode 9在标签本地化评论版上崩溃所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)