当Xcode 4.6打开故事板时,ios – Xcode 5崩溃

前端之家收集整理的这篇文章主要介绍了当Xcode 4.6打开故事板时,ios – Xcode 5崩溃前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我从2个月前开始使用 Xcode 4.6的项目,现在我想发送给我的应用程序一切都可以,但是当我尝试在iOS 7上运行应用程序时,我看到一些错误;所以我已经下载了新的Xcode 5以查看错误在哪里,但是发生了什么事情是当我尝试打开与IB Xcode崩溃的故事板.我试图在互联网上看到如何解决这个问题,但我没有找到任何关于这一点.

此外,当我尝试使用iOS 7在设备上运行应用程序时,Xcode给我的错误是:

CompileStoryboard YatchCo/en.lproj/MainStoryboard.storyboard
    cd "/Volumes/Dati Lavoro/Mirko/Koffeecup/Y.CO"
    setenv IBSC_MINIMUM_COMPATIBILITY_VERSION 6.0
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode.app/Contents/Developer/usr/bin/..
    /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --minimum-deployment-target 6.0 --output-format human-readable-text --compile /Users/iCreil/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos/YachtCo.app/en.lproj/MainStoryboard.storyboardc /Volumes/Dati\ Lavoro/Mirko/Koffeecup/Y.CO/YatchCo/en.lproj/MainStoryboard.storyboard

2013-09-22 19:31:37.326 ibtoold[30327:707] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-4510/Framework/Document/Archiving/IBDocumentUnarchiver.m:216
Details:  Failed to unarchive an instance of NSFont
Object:   <IBDocumentUnarchiver: 0x7ffab98295e0>
Method:   -unarchiveObjectFromElement:
Thread:   <NSThread: 0x7ffab84191d0>{name = (null),num = 1}
Hints: None
Backtrace:
  0  0x000000010950ebdd -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DVTFoundation)
  1  0x000000010950e655 _DVTAssertionHandler (in DVTFoundation)
  2  0x000000010950e984 _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x00000001088ecd88 __51-[IBDocumentUnarchiver unarchiveObjectFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
  4  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
  5  0x00000001088ec94d -[IBDocumentUnarchiver unarchiveObjectFromElement:] (in IDEInterfaceBuilderKit)
  6  0x00000001088ee0ce -[IBDocumentUnarchiver unarchiveObjectArrayOrDictionaryFromElement:] (in IDEInterfaceBuilderKit)
  7  0x00000001088edb86 __55-[IBDocumentUnarchiver unarchiveDictionaryFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
  8  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
  9  0x00000001088ed7d4 -[IBDocumentUnarchiver unarchiveDictionaryFromElement:] (in IDEInterfaceBuilderKit)
 10  0x00000001088ee814 -[IBDocumentUnarchiver unarchiveDictionaryWithName:forOptionalKey:] (in IDEInterfaceBuilderKit)
 11  0x00000001088f2685 __77+[NSAttributedString(IBDocumentArchiving) instantiateWithDocumentUnarchiver:]_block_invoke_2 (in IDEInterfaceBuilderKit)
 12  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 13  0x00000001088f1021 -[IBDocumentUnarchiverGroupMember(unarchiveContentWithBlock) unarchiveContentWithBlock:] (in IDEInterfaceBuilderKit)
 14  0x00000001088f25f1 __77+[NSAttributedString(IBDocumentArchiving) instantiateWithDocumentUnarchiver:]_block_invoke (in IDEInterfaceBuilderKit)
 15  0x00000001088eef4f -[IBDocumentUnarchiver enumerateObjectMembers:] (in IDEInterfaceBuilderKit)
 16  0x00000001088f2496 +[NSAttributedString(IBDocumentArchiving) instantiateWithDocumentUnarchiver:] (in IDEInterfaceBuilderKit)
 17  0x00000001088ecb02 __51-[IBDocumentUnarchiver unarchiveObjectFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
 18  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 19  0x00000001088ec94d -[IBDocumentUnarchiver unarchiveObjectFromElement:] (in IDEInterfaceBuilderKit)
 20  0x00000001088ef179 -[IBDocumentUnarchiver unarchiveObjectForKey:defaultValue:] (in IDEInterfaceBuilderKit)
 21  0x000000010ed4fea1 IBUIAttributedTextContainerUnarchive (in IDEInterfaceBuilderCocoaTouchIntegration)
 22  0x000000010ebe0d46 (in IDEInterfaceBuilderCocoaTouchIntegration)
 23  0x00000001088ecc6a __51-[IBDocumentUnarchiver unarchiveObjectFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
 24  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 25  0x00000001088ec94d -[IBDocumentUnarchiver unarchiveObjectFromElement:] (in IDEInterfaceBuilderKit)
 26  0x00000001088ee0ce -[IBDocumentUnarchiver unarchiveObjectArrayOrDictionaryFromElement:] (in IDEInterfaceBuilderKit)
 27  0x00000001088ed543 __50-[IBDocumentUnarchiver unarchiveArrayFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
 28  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 29  0x00000001088ed2b8 -[IBDocumentUnarchiver unarchiveArrayFromElement:] (in IDEInterfaceBuilderKit)
 30  0x00000001088ef328 -[IBDocumentUnarchiver unarchiveArrayWithName:forOptionalKey:defaultValue:] (in IDEInterfaceBuilderKit)
 31  0x000000010867aa24 -[NSView(IBDocumentArchivingGenerator) unarchiveWithDocumentUnarchiver:] (in IDEInterfaceBuilderKit)
 32  0x000000010ebe18a1 (in IDEInterfaceBuilderCocoaTouchIntegration)
 33  0x00000001088ecc6a __51-[IBDocumentUnarchiver unarchiveObjectFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
 34  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 35  0x00000001088ec94d -[IBDocumentUnarchiver unarchiveObjectFromElement:] (in IDEInterfaceBuilderKit)
 36  0x00000001088ee0ce -[IBDocumentUnarchiver unarchiveObjectArrayOrDictionaryFromElement:] (in IDEInterfaceBuilderKit)
 37  0x00000001088ed543 __50-[IBDocumentUnarchiver unarchiveArrayFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
 38  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 39  0x00000001088ed2b8 -[IBDocumentUnarchiver unarchiveArrayFromElement:] (in IDEInterfaceBuilderKit)
 40  0x00000001088ef328 -[IBDocumentUnarchiver unarchiveArrayWithName:forOptionalKey:defaultValue:] (in IDEInterfaceBuilderKit)
 41  0x000000010867aa24 -[NSView(IBDocumentArchivingGenerator) unarchiveWithDocumentUnarchiver:] (in IDEInterfaceBuilderKit)
 42  0x000000010ebe18a1 (in IDEInterfaceBuilderCocoaTouchIntegration)
 43  0x00000001088ecc6a __51-[IBDocumentUnarchiver unarchiveObjectFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
 44  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 45  0x00000001088ec94d -[IBDocumentUnarchiver unarchiveObjectFromElement:] (in IDEInterfaceBuilderKit)
 46  0x00000001088ef179 -[IBDocumentUnarchiver unarchiveObjectForKey:defaultValue:] (in IDEInterfaceBuilderKit)
 47  0x000000010ebe258b (in IDEInterfaceBuilderCocoaTouchIntegration)
 48  0x00000001088ecc6a __51-[IBDocumentUnarchiver unarchiveObjectFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
 49  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 50  0x00000001088ec94d -[IBDocumentUnarchiver unarchiveObjectFromElement:] (in IDEInterfaceBuilderKit)
 51  0x00000001088ee0ce -[IBDocumentUnarchiver unarchiveObjectArrayOrDictionaryFromElement:] (in IDEInterfaceBuilderKit)
 52  0x00000001088ed543 __50-[IBDocumentUnarchiver unarchiveArrayFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
 53  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 54  0x00000001088ed2b8 -[IBDocumentUnarchiver unarchiveArrayFromElement:] (in IDEInterfaceBuilderKit)
 55  0x00000001088ee789 -[IBDocumentUnarchiver unarchiveArrayWithName:forOptionalKey:] (in IDEInterfaceBuilderKit)
 56  0x000000010ecf9172 (in IDEInterfaceBuilderCocoaTouchIntegration)
 57  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 58  0x00000001088f1021 -[IBDocumentUnarchiverGroupMember(unarchiveContentWithBlock) unarchiveContentWithBlock:] (in IDEInterfaceBuilderKit)
 59  0x000000010ecf8fbb (in IDEInterfaceBuilderCocoaTouchIntegration)
 60  0x00000001088eed39 -[IBDocumentUnarchiver enumerateGroupMembers:] (in IDEInterfaceBuilderKit)
 61  0x000000010ecf8e93 (in IDEInterfaceBuilderCocoaTouchIntegration)
 62  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 63  0x00000001088eeb23 -[IBDocumentUnarchiver enterGroupWithName:optionalKey:usingBlock:] (in IDEInterfaceBuilderKit)
 64  0x000000010ecf8df0 (in IDEInterfaceBuilderCocoaTouchIntegration)
 65  0x0000000108690feb -[IBDocument unarchiveDocument:] (in IDEInterfaceBuilderKit)
 66  0x000000010ecf966e (in IDEInterfaceBuilderCocoaTouchIntegration)
 67  0x00000001088eb026 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 68  0x00000001088eb28b -[IBDocumentUnarchiver unarchiveDocument:] (in IDEInterfaceBuilderKit)
 69  0x00000001086895d3 __81-[IBDocument decodeContentFileWrapper:fileDataType:typeName:decodingStyle:error:]_block_invoke (in IDEInterfaceBuilderKit)
 70  0x00000001086bdb14 -[IBDocument runBlockInNewArbitrationStackEntryWithBehavior:block:] (in IDEInterfaceBuilderKit)
 71  0x00000001086892c8 -[IBDocument decodeContentFileWrapper:fileDataType:typeName:decodingStyle:error:] (in IDEInterfaceBuilderKit)
 72  0x0000000108689835 -[IBDocument readFromFileWrapper:ofType:error:] (in IDEInterfaceBuilderKit)
 73  0x00007fff8f4ef527 -[NSDocument readFromURL:ofType:error:] (in AppKit)
 74  0x0000000108681110 __39-[IBDocument readFromURL:ofType:error:]_block_invoke (in IDEInterfaceBuilderKit)
 75  0x00000001086b5612 -[IBDocument invokeWithUndoSuppressed:] (in IDEInterfaceBuilderKit)
 76  0x0000000108680e5f -[IBDocument readFromURL:ofType:error:] (in IDEInterfaceBuilderKit)
 77  0x0000000108482712 (in ibtoold)
 78  0x000000010847e1e0 (in ibtoold)
 79  0x0000000108483c21 (in ibtoold)
 80  0x000000010848e23d (in ibtoold)
 81  0x000000010848e781 (in ibtoold)
 82  0x000000010848e654 (in ibtoold)
 83  0x000000010848cade (in ibtoold)
 84  0x000000010848deb2 (in ibtoold)
 85  0x000000010848d610 (in ibtoold)
 86  0x00007fff97e4d7e1 start (in libdyld.dylib)
Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool Failed with exit code 255

解决方法

问题是,我在这个项目中和Mac上安装了Xcode 5的Mac,我没有安装我在项目中使用的新字体(我在故事板中使用).

所以为了解决这个问题,我刚刚安装的字体到Mac我遇到的问题

我回答我的问题,帮助有同样问题的人!

原文链接:https://www.f2er.com/iOS/328938.html

猜你在找的iOS相关文章