Interface builder freeze on compilation

I have never been able to get iPhone applications compiling on my Macbook Air.. Now I decided that I want to find out why.. So I have spent the most of the day trying some of the fixes suggested on the net. But nothing works.
I am trying to compile "WhichWayIsUp" demo, but once the .xib file starts compiling the process just hangs there.
Also if I try to open the .xib in Interface builder, interface builder gives me the spinning ball
I hope that some of you experts out there can help me out?
My crash log looks like this:
Process: Interface Builder Cocoa Touch Tool [1065]
Path: /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Interface Builder/Plug-ins/IBCocoaTouchPlugin.ibplugin/Contents/Resources/Interface Builder Cocoa Touch Tool
Identifier: Interface Builder Cocoa Touch Tool
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: ibtool [1064]
Date/Time: 2009-03-22 18:46:46.399 +0100
OS Version: Mac OS X 10.5.6 (9G55)
Report Version: 6
Exception Type: EXCBADACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000
Crashed Thread: 0
Thread 0 Crashed:
0 dyld 0x8fe18c02 misalignedstackerror + 0
1 libstdc++.6.dylib 0x0023c3e3 std::Rb_tree_insert_andrebalance(bool, std::Rb_tree_nodebase*, std::Rb_tree_nodebase*, std::Rb_tree_nodebase&) + 243 (streambuf_iterator.h:174)
2 libGLProgrammability.dylib 0x010100a2 PPParserGetErrorString + 3311330
3 libGLProgrammability.dylib 0x01010169 PPParserGetErrorString + 3311529
4 libGLProgrammability.dylib 0x0100f86f PPParserGetErrorString + 3309231
5 libGLProgrammability.dylib 0x010939f3 0xa13000 + 6818291
6 dyld 0x8fe12f36 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 246
7 dyld 0x8fe0e7e3 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 307
8 dyld 0x8fe0e775 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 197
9 dyld 0x8fe0e775 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 197
10 dyld 0x8fe0e775 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 197
11 dyld 0x8fe0e775 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 197
12 dyld 0x8fe0e775 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 197
13 dyld 0x8fe0e775 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 197
14 dyld 0x8fe0e775 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 197
15 dyld 0x8fe0e8c9 ImageLoader::runInitializers(ImageLoader::LinkContext const&) + 57
16 dyld 0x8fe04102 dyld::initializeMainExecutable() + 146
17 dyld 0x8fe07bcf dyld::main(machheader const*, unsigned long, int, char const**, char const**, char const**) + 3087
18 dyld 0x8fe01872 dyldbootstrap::start(mach_header const*, int, char const**, long) + 818
19 dyld 0x8fe01037 dyldstart + 39
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x002ca95b ebx: 0x0100f84b ecx: 0x00000000 edx: 0x01102758
edi: 0x01102780 esi: 0x011027a0 ebp: 0xbfffdb5c esp: 0xbfffdaf4
ss: 0x0000001f efl: 0x00010286 eip: 0x8fe18c02 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x0023c2f0
Binary Images:
0x1000 - 0xfff2 +Interface Builder Cocoa Touch Tool ??? (???) <22d58cef925ccc34c54ff34bc47e973b> /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Interface Builder/Plug-ins/IBCocoaTouchPlugin.ibplugin/Contents/Resources/Interface Builder Cocoa Touch Tool
0x18000 - 0x1fffd +libgcc_s.1.dylib ??? (???) /usr/local/lib/libgcc_s.1.dylib
0x3f000 - 0x6bfff com.apple.SystemConfiguration 1.9.5 (1.9.5) <12ef2c263a3958046a4cfd0ab49a95f3> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/System Configuration
0x85000 - 0x88ffc +libGFXShared.dylib ??? (???) <2acf8511245e6393dbc7a8107d263584> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
0xa7000 - 0xcbfff +libxslt.1.dylib ??? (???) <ec3ae0462040d333effa987384d1b538> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/usr/lib/libxslt.1.dylib
0x112000 - 0x1f3ff7 +libxml2.2.dylib ??? (???) <18f014ed14a8281eedb11b16dbcb2313> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/usr/lib/libxml2.2.dylib
0x224000 - 0x2b4fe5 libstdc+.6.dylib ??? (???) /usr/local/lib/libstdc++.6.dylib
0x735000 - 0x770ff9 +libGLImage.dylib ??? (???) <69d908a44ab97e1913cb0b20ab5b99e8> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x856000 - 0x8c7ff1 +WebKit ??? (???) <d2434c38b3802120b0e0ebcc2f283838> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x92b000 - 0x9a7feb com.apple.audio.CoreAudio 3.2.0 (3.2) <53fe4cee1a8175ea9644c845bb98456d> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0xa00000 - 0xa0aff3 +CoreVideo ??? (???) <327d75ff103c5aeaeeceec2aa0a8e49c> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/PrivateFrameworks/CoreVideo.framework/CoreVideo
0xa13000 - 0x1098f32 +libGLProgrammability.dylib ??? (???) <9046d2abbaec066c06040423e27b6915> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/Frameworks/OpenGLES.framework/libGLProgrammability.dylib
0x30875000 - 0x30887fff +AppSupport ??? (???) <bef8b343070b5329c2f530d4218aad89> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x30a45000 - 0x30ca8fe6 +UIKit ??? (???) <f4c65f1861a5a6daeaebde942e77b55e> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/Frameworks/UIKit.framework/UIKit
0x30ff3000 - 0x311f8fff com.apple.CoreGraphics 1.359.13 (???) <abf63e270c1801e02fb6954ab6cf5e82> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x31270000 - 0x31285fff +OpenGLES ??? (???) <27b097ed65d3da5eaa09fa8ddfbf0c77> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x312b2000 - 0x31375ff3 +JavaScriptCore ??? (???) <2c056913644b3a5dc4993cd51837dab0> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore
0x31562000 - 0x3156bffd +GraphicsServices ??? (???) <719d0400bacbca45f43f1568285b4c57> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServi ces
0x315d7000 - 0x31692ff7 +ImageIO ??? (???) <0889c4b9b2273a815bcb82b08dbf4977> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/PrivateFrameworks/ImageIO.framework/ImageIO
0x31ad4000 - 0x31aecfff +AddressBook ??? (???) <6c8f6e0977ea207a4befa61ba1330f68> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/Frameworks/AddressBook.framework/AddressBook
0x31dcb000 - 0x31e3ffef +QuartzCore ??? (???) <06cf7e879bfb27a7b5ce0f6c49755c12> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x325ec000 - 0x32be4fff +WebCore ??? (???) <c5060b1d50c2716c8043b96ec31002b5> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x33d10000 - 0x33d18ffc +SpringBoardServices ??? (???) <62eed9174adb76974fef4361af5dea2e> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoar dServices
0x34882000 - 0x3499efef +AudioToolbox ??? (???) <6d0ef663642ce3dfeb93e221a05cd3dc> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2 .1.sdk/System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x8fe00000 - 0x8fe2db43 dyld 97.1 (???) <100d362e03410f181a34e04e94189ae5> /usr/lib/dyld
0x902fd000 - 0x9030bffd libz.1.dylib ??? (???) <545ca09467025f77131cfac09d8b9375> /usr/lib/libz.1.dylib
0x9034c000 - 0x9051aff3 com.apple.security 5.0.4 (34102) <55dda7486df4e8e1d61505be16f83a1c> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x90604000 - 0x90604ffa com.apple.CoreServices 32 (32) <2760719f7a81e8c2bdfd15b0939abc29> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90919000 - 0x90a51ff7 libicucore.A.dylib ??? (???) <18098dcf431603fe47ee027a60006c85> /usr/lib/libicucore.A.dylib
0x90a91000 - 0x90b10ff5 com.apple.SearchKit 1.2.1 (1.2.1) <3140a605db2abf56b237fa156a08b28b> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x90c4d000 - 0x90c96fef com.apple.Metadata 10.5.2 (398.25) <e0572f20350523116f23000676122a8d> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x90ca1000 - 0x90cccfe7 libauto.dylib ??? (???) <42d8422dc23a18071869fdf7b5d8fab5> /usr/lib/libauto.dylib
0x919f9000 - 0x91a28fe3 com.apple.AE 402.3 (402.3) <4cb9ef65cf116d6dd424f0ce98c2d015> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x91ad6000 - 0x91aecfff com.apple.DictionaryServices 1.0.0 (1.0.0) <7e9ff586b5c9d02b09e2a5527d98524f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x92d5f000 - 0x92de6ff7 libsqlite3.0.dylib ??? (???) <6978bbcca4277d6ae9f042beff643f7d> /usr/lib/libsqlite3.0.dylib
0x944b1000 - 0x945e4fff com.apple.CoreFoundation 6.5.5 (476.17) <4a70c8dbb582118e31412c53dc1f407f> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x947b0000 - 0x9486afe3 com.apple.CoreServices.OSServices 226.5 (226.5) <2a135d4fb16f4954290f7b72b4111aa3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x94927000 - 0x94a8eff3 libSystem.B.dylib ??? (???) <d68880dfb1f8becdbdac6928db1510fb> /usr/lib/libSystem.B.dylib
0x94c8e000 - 0x94c95ffe libbsm.dylib ??? (???) <5582985a86ea36504cca31788bccf963> /usr/lib/libbsm.dylib
0x94c96000 - 0x94f11fe7 com.apple.Foundation 6.5.7 (677.22) <8fe77b5d15ecdae1240b4cb604fc6d0b> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x953b9000 - 0x95444fff com.apple.framework.IOKit 1.5.1 (???) <f9f5f0d070e197a832d86751e1d44545> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x95d43000 - 0x95d4bfff com.apple.DiskArbitration 2.2.1 (2.2.1) <75b0c8d8940a8a27816961dddcac8e0f> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x95dce000 - 0x95eaefff libobjc.A.dylib ??? (???) <7b92613fdf804fd9a0a3733a0674c30b> /usr/lib/libobjc.A.dylib
0x9610c000 - 0x96198ff7 com.apple.LaunchServices 290.3 (290.3) <6f9629f4ed1ba3bb313548e6838b2888> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x96704000 - 0x969deff3 com.apple.CoreServices.CarbonCore 786.11 (786.11) <f06fe5d92d56ac5aa52d1ba182745924> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x96b5c000 - 0x96bf9fe4 com.apple.CFNetwork 422.15.2 (422.15.2) <80851410a5592b7c3b149b2ff849bcc1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x97290000 - 0x97294fff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

The general approach at this time is to ask if you've checked for any problematic fonts (all languages) with Apple's Font Book (look in the Applications folder). Find and remove all duplicates also.
Start there to be sure all fonts that are in play come out with a clean bill of health.
Don't hesisate to perform wholesale deletion of old and/or little used fonts - be skeptical of anything that has come from Office 2008, including those related to an Equation Editor installation.
By all means be sure any 3rd party apps are Snow Leopard compatible.
You can help to focus the problem by creating another user account named testUser and seeing if the problem still occurs there - this will help to identify if the issue is particular to your original account or system wide.
You can try deleting these plist files (~yourUserName/Library/Preferences):
• com.apple.InterfaceBuilder3.LSSharedFileList.plist
• com.apple.InterfaceBuilder3.plist
If you still have issues, consider asking again on the developer forums...
http://discussions.apple.com/forum.jspa?forumID=727&start=0
Good luck in any case.

Similar Messages

  • Interface builder freezes after installing snow leopard (OS X 10.6.1)

    Hi,
    I have just installed snow leopard and iphone sdk 2.2 (XCode 3.1.2) on my machine and now interface builder freezes every time i build my code OR open a .nib file.
    Anyone out there with a solution? suggestions?

    Ok, I got it solved... I just installed latest SDK (3.0) and its all set now.

  • Interface builder storyboard compile issue (upgraded to IOS 6)

    hi all,
    just upgrade to IOS 6, could not run my project with the following error:
    CompileStoryboard Storyboard.storyboard
        cd /Users/chunsu/Desktop/project-y/WhackwhoNew
        setenv IBSC_MINIMUM_COMPATIBILITY_VERSION 5.1
        setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/ Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/b in:/usr/sbin:/sbin"
        setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode.app/Contents/Developer/usr/bin/..
        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/D eveloper/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/chunsu/Library/Developer/Xcode/DerivedData/WhackwhoNew-fkfvwcrgzokycpfkm aqsdmeqqese/Build/Products/Debug-iphonesimulator/WhackwhoNew.app/Storyboard.stor yboardc /Users/chunsu/Desktop/project-y/WhackwhoNew/Storyboard.storyboard --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/D eveloper/SDKs/iPhoneSimulator6.0.sdk
    2012-09-23 12:02:37.364 Interface Builder Cocoa Touch Tool[3213:f07] CFPreferences: user home directory at file://localhost/Users/chunsu/Library/Application%20Support/iPhone%20Simulator/ User/ is unavailable. User domains will be volatile.2012-09-23 12:02:38.855 ibtoold[3212:707] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-1926/I BPlugin/Utilities/IBObjectMarshalling.m:651Details:  Failed to compile nib consisting of IBProxyObject, IBProxyObject, IBProxyObject, IBUIButton, IBUIButton, IBUITextField, IBUITextField, and IBUIView.Interface Builder encountered an error communicating with the iOS Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.Exception name: The operation couldn’t be completed. (IBMessageChannelErrorDomain error 1.)Exception reason: (null)Exception backtrace:(null)Exception info:{    IBUnderlyingError = "Error Domain=IBMessageChannelErrorDomain Code=1 \"The operation couldn\U2019t be completed. (IBMessageChannelErrorDomain error 1.)}Function: void IBAssertMarshallingFailure(NSString *, NSString *)Thread:   <NSThread: 0x40030a260>{name = (null), num = 1}Hints: NoneBacktrace:  0  0x0000000107be8643 -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:messageFormat:arguments:] (in DVTFoundatio  1  0x0000000107be820d _DVTAssertionHandler (in DVTFoundatio  2  0x0000000107be82a5 _DVTAssertionFailureHandler (in DVTFoundatio  3  0x000000010aeaf5e0 IBAssertMarshallingFailure (in IDEInterfaceBuilderCocoaTouchIntegratio  4  0x000000010af44aaa (in IDEInterfaceBuilderCocoaTouchIntegratio  5  0x000000010af44c3a (in IDEInterfaceBuilderCocoaTouchIntegratio  6  0x000000010af4ee33 (in IDEInterfaceBuilderCocoaTouchIntegratio  7  0x000000010af51f58 (in IDEInterfaceBuilderCocoaTouchIntegratio  8  0x000000010af52c76 (in IDEInterfaceBuilderCocoaTouchIntegratio  9  0x00000001073e5e8c IBWithAutoInvalidationPool (in IDEInterfaceBuilderKi 10  0x000000010af52a28 (in IDEInterfaceBuilderCocoaTouchIntegration 11  0x000000010af422e7 (in IDEInterfaceBuilderCocoaTouchIntegration 12  0x0000000107221745 __47-[IBDocument compiledPackageWithOptions:error:]_block_invoke_0 (in IDEInterfaceBuilderKit 13  0x00000001072389a1 -[IBDocument assertIfArbitrationIsScheduledDuring:] (in IDEInterfaceBuilderKit 14  0x0000000107221710 -[IBDocument compiledPackageWithOptions:error:] (in IDEInterfaceBuilderKit 15  0x0000000107122f90 (in ibtoold 16  0x00000001071200e8 (in ibtoold 17  0x000000010711fc5f (in ibtoold 18  0x000000010711fb53 (in ibtoold 19  0x000000010712c165 (in ibtoold 20  0x000000010711f684 (in ibtoold 21  0x00000001071208f1 (in ibtoold 22  0x000000010711e524 (in ibtoold 23  0x000000000000000Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/D eveloper/usr/bin/ibtool failed with exit code 255
    is anyone know how to fix?
    thanks!

    CFPreferences: user home directory at file://localhost/Users/chunsu/Library/Application%20Support/iPhone%20Simulator/ User/ is unavailable
    So does that folder exist? It does on my disk.
    I assume you have tried a Product > Clean then Build.

  • Xcode 4.2.1 crashes when using a QCView in Interface Builder

    Hi, I have been trying to use a QCView in one of my projects but I get a crash everytime. I tried loading the QuartzComposerChart sample application but if I compile the project I get a crash, it just seems to crash when it wants to but I was able to get it compiled if I didn't click on the .nib file. It seems to be related to interface builder anyway.
    Adding a QCView to a new project results in a .xib file not being able to be saved I get this error
    The document “MainMenu.xib” could not be autosaved. -[NSConcreteMapTable state]: unrecognized selector sent to instance 0x402d47420
    Heres my crash log:
    UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[NSKeyValueUndefinedSetter state]: unrecognized selector sent to instance 0x4026f43a0
    UserInfo: (null)
    Hints: None
    Backtrace:
      0  0x00007fff8963726a __exceptionPreprocess (in CoreFoundation)
      1  0x00007fff83bb2d5e objc_exception_throw (in libobjc.A.dylib)
      2  0x00007fff896c34ce -[NSObject doesNotRecognizeSelector:] (in CoreFoundation)
      3  0x00007fff89624133 ___forwarding___ (in CoreFoundation)
      4  0x00007fff89623f48 _CF_forwarding_prep_0 (in CoreFoundation)
      5  0x00007fff88c829b2 _PatchToComposition (in QuartzComposer)
      6  0x00007fff88c5bd47 -[QCPatchController encodeWithCoder:] (in QuartzComposer)
      7  0x00007fff8a60559d _encodeObject (in Foundation)
      8  0x00007fff8dc72814 -[NSNibConnector encodeWithCoder:] (in AppKit)
      9  0x00007fff8dc72599 -[NSNibBindingConnector encodeWithCoder:] (in AppKit)
    10  0x00007fff8a60559d _encodeObject (in Foundation)
    11  0x00007fff8a60678e -[NSKeyedArchiver _encodeArrayOfObjects:forKey:] (in Foundation)
    12  0x00007fff8a606e56 -[NSArray(NSArray) encodeWithCoder:] (in Foundation)
    13  0x00007fff8a60559d _encodeObject (in Foundation)
    14  0x00007fff8dbe5ab7 -[NSIBObjectData encodeWithCoder:] (in AppKit)
    15  0x00007fff8a60559d _encodeObject (in Foundation)
    16  0x000000010aaf0938 -[IBCocoaDocument compiledKeyedObjectsData:] (in IDEInterfaceBuilderCocoaIntegration)
    17  0x000000010aaf10e0 -[IBCocoaDocument fileWrapperOfType:error:] (in IDEInterfaceBuilderCocoaIntegration)
    18  0x00007fff8db59801 -[NSDocument writeToURL:ofType:error:] (in AppKit)
    19  0x000000010a681231 -[IBDocument writeToURL:ofType:error:] (in IDEInterfaceBuilderKit)
    20  0x00007fff8db58769 -[NSDocument writeToURL:ofType:forSaveOperation:originalContentsURL:error:] (in AppKit)
    21  0x000000010a6846ff -[IBDocument writeToURL:ofType:forSaveOperation:originalContentsURL:error:] (in IDEInterfaceBuilderKit)
    22  0x00007fff8db58b68 -[NSDocument _writeSafelyToURL:ofType:forSaveOperation:forceTemporaryDirectory:error:] (in AppKit)
    23  0x00007fff8db4285d -[NSDocument _writeSafelyToURL:ofType:forSaveOperation:error:] (in AppKit)
    24  0x00007fff8db58911 -[NSDocument writeSafelyToURL:ofType:forSaveOperation:error:] (in AppKit)
    25  0x0000000107ad664a -[IDEEditorDocument writeSafelyToURL:ofType:forSaveOperation:error:] (in IDEKit)
    26  0x00007fff8db61ea7 __-[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke_8 (in AppKit)
    27  0x00007fff8db61327 __-[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke_14 (in AppKit)
    28  0x00007fff8db61c80 __-[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke_7 (in AppKit)
    29  0x00007fff8a7a5a8d -[NSFileCoordinator(NSPrivate) _invokeAccessor:orDont:thenRelinquishAccessClaimForID:] (in Foundation)
    30  0x00007fff8a7a8e65 -[NSFileCoordinator(NSPrivate) _coordinateReadingItemAtURL:options:writingItemAtURL:options:error:byAccessor:] (in Foundation)
    31  0x00007fff8db5725c -[NSDocument _fileCoordinator:coordinateReadingContentsAndWritingItemAtURL:byAccessor:] (in AppKit)
    32  0x00007fff8db45702 __-[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke_1 (in AppKit)
    33  0x00007fff8db5ab75 -[NSDocument performAsynchronousFileAccessUsingBlock:] (in AppKit)
    34  0x00007fff8db453af -[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:] (in AppKit)
    35  0x0000000107b8b66b -[IDEEditorDocument saveToURL:ofType:forSaveOperation:completionHandler:] (in IDEKit)
    36  0x000000010a6811fd -[IBDocument saveToURL:ofType:forSaveOperation:completionHandler:] (in IDEInterfaceBuilderKit)
    37  0x00007fff8db46d40 __-[NSDocument autosaveWithImplicitCancellability:completionHandler:]_block_invoke_1 (in AppKit)
    38  0x00007fff8db40898 -[NSDocument continueFileAccessUsingBlock:] (in AppKit)
    39  0x0000000107b898db -[IDEEditorDocument continueFileAccessUsingBlock:] (in IDEKit)
    40  0x00007fff8db40cad __-[NSDocument performAsynchronousFileAccessUsingBlock:]_block_invoke_6 (in AppKit)
    41  0x00007fff8db71333 __-[NSDocumentController(NSInternal) _onMainThreadInvokeWorker:]_block_invoke_3 (in AppKit)
    42  0x00007fff882cc8ba _dispatch_call_block_and_release (in libdispatch.dylib)
    43  0x00007fff882ce72a _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
    44  0x00007fff895cc4dc __CFRunLoopRun (in CoreFoundation)
    45  0x00007fff895cbae6 CFRunLoopRunSpecific (in CoreFoundation)
    46  0x00007fff8c1283d3 RunCurrentEventLoopInMode (in HIToolbox)
    47  0x00007fff8c12f63d ReceiveNextEventCommon (in HIToolbox)
    48  0x00007fff8c12f4ca BlockUntilNextEventMatchingListInMode (in HIToolbox)
    49  0x00007fff8d7a23f1 _DPSNextEvent (in AppKit)
    50  0x00007fff8d7a1cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
    51  0x00007fff8d79e62d -[NSApplication run] (in AppKit)
    52  0x00007fff8da1d80c NSApplicationMain (in AppKit)
    53  0x0000000107165eec (in Xcode)
    54  0x0000000000000002
    This also happens when I try loading a composition into a QCView. Does anyone know how to fix this?
    Thanks
    Ed

    Glad you posted... I am getting similar messages in xcode 4.2.1
    The document “MainMenu.xib” could not be saved. -[DVTFileSystemVNode state]: unrecognized selector sent to instance 0x40540f920
    I didn't make the connection with QCView until I saw your post. I have several .xib in the project with QCViews and all of them have this same problem.  .xib files without QCViews in them are fine.
    However, my application does not crash, but runs fine. (The xib's and application were written with xcode 3.2, and I can't edit them now in 4.2.1, because I can't save them.  )
    Any other clues would be welcome.
    Thanks
    Keith

  • Interface builder is unable to open documents of type iPad XIB

    Hi,
    I got a application from my teammate, and it is for both iphone and ipad devices (which it is developed under iPhone SDK 3.2).
    I have iPhone SDK 3.1.3 installed in my mac book. When i tried to compile the application for iphone simulator i got the following error.
    Interface builder is unable to open documents of type iPad XIB.
    The above error is for interface builder created for ipad.
    My Question is we can't compile the application on iPhone SDK 3.1.3 which the application developed under iPhone SDK 3.2?
    Please shed some light of this?
    thanks
    mindus

    Go to your project settings, and delete the line that says Interface Builder Plugin search path or something similar.
    the exact line in project.pbxproj is: IBC_PLUGIN_SEARCH_PATHS = "${PROJECT_DIR}/**";

  • Interface Builder encountered an error communicating with the iPhone Simulator

    Hi,
    I downloaded the latest iOS SDK and tried simple helloworld program. Once I try to build it in the xcode, it shows the following 2 errors. I tried to re-install the SDK several times, and it doesn't work. 
    CompileXIB MainWindow.xib
    cd /Users/qingzhao/Desktop/ch1/HelloWorld
    setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/qingzhao/Desktop/ch1/HelloWorld/build/Debug-iphonesimulator/HelloWorld.a pp/MainWindow.nib /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
    2010-09-22 13:07:18.333 ibtool[1155:607] Assertion Failure: [toolTask isRunning]
    2010-09-22 13:07:18.337 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.337 ibtool[1155:607] Line: 140
    2010-09-22 13:07:18.519 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b7dcc IBAttachToCocoaTouchTool + 1669
    1 IBCocoaTouchPlugin 0x00000001039b5e9f IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 147
    2 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    3 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    4 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    5 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    6 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    7 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    8 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    9 ibtool 0x000000010000829f
    10 ibtool 0x0000000100006e0c
    11 ibtool 0x0000000100003161
    12 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.519 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    2010-09-22 13:07:18.520 ibtool[1155:607] Assertion Failure: NO
    2010-09-22 13:07:18.520 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.520 ibtool[1155:607] Line: 351
    2010-09-22 13:07:18.521 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b5f62 IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 342
    1 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    2 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    3 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    4 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    5 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    6 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    7 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    8 ibtool 0x000000010000829f
    9 ibtool 0x0000000100006e0c
    10 ibtool 0x0000000100003161
    11 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.521 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    What can I do  ? Thank you very much!!!

    I found this on stack overflow.com and thought it would apply to this article discussion for some users even though I don't understand how to revert the version (through git?)
    I think this is a compatibility issue. I think the .xib has moved to Xcode 4 (as shown by the line setenv IBC_MINIMUM_COMPATIBILITY_VERSION 4.2) which Xcode 3.2's version of ibtooldoes not understand.
    I think you need to revert to a version of the .xib prior to the update to Xcode 4.""

  • Interface Builder encountered an error communicating with the iPhone Simula

    Hi,
    I downloaded the latest iOS SDK and tried simple helloworld program. Once I try to build it in the xcode, it shows the following 2 errors. I tried to re-install the SDK several times, and it doesn't work.
    CompileXIB MainWindow.xib
    cd /Users/qingzhao/Desktop/ch1/HelloWorld
    setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/qingzhao/Desktop/ch1/HelloWorld/build/Debug-iphonesimulator/HelloWorld.a pp/MainWindow.nib /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
    2010-09-22 13:07:18.333 ibtool[1155:607] Assertion Failure: [toolTask isRunning]
    2010-09-22 13:07:18.337 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.337 ibtool[1155:607] Line: 140
    2010-09-22 13:07:18.519 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b7dcc IBAttachToCocoaTouchTool + 1669
    1 IBCocoaTouchPlugin 0x00000001039b5e9f IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 147
    2 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    3 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    4 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    5 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    6 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    7 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    8 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    9 ibtool 0x000000010000829f
    10 ibtool 0x0000000100006e0c
    11 ibtool 0x0000000100003161
    12 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.519 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    2010-09-22 13:07:18.520 ibtool[1155:607] Assertion Failure: NO
    2010-09-22 13:07:18.520 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.520 ibtool[1155:607] Line: 351
    2010-09-22 13:07:18.521 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b5f62 IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 342
    1 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    2 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    3 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    4 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    5 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    6 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    7 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    8 ibtool 0x000000010000829f
    9 ibtool 0x0000000100006e0c
    10 ibtool 0x0000000100003161
    11 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.521 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception infonull)
    /* com.apple.ibtool.errors */
    /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib: error: ibtool failed with exception: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception infonull)

    I'm using 10.6.4 and having the same issue. Reinstalled the newest SDK a few times (Xcode 3.2.4 with 4.1 of the iOS SDK). I can't build anything to run on the iPhone Simulator, but building regular Mac apps works fine. Here's what it tells me when I try to build and run:
    CompileXIB MainWindow.xib
    cd /Users/myusername/Development/iTennis
    setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/myusername/Development/iTennis/build/Debug-iphonesimulator/iTennis.app/M ainWindow.nib /Users/myusername/Development/iTennis/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
    2010-10-26 17:07:21.838 ibtool[1428:607] Assertion Failure: [toolTask isRunning]
    2010-10-26 17:07:21.934 ibtool[1428:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-10-26 17:07:21.934 ibtool[1428:607] Line: 140
    2010-10-26 17:07:22.016 ibtool[1428:607] Backtrace:
    0 IBCocoaTouchPlugin 0x000000010383ddcc IBAttachToCocoaTouchTool + 1669
    1 IBCocoaTouchPlugin 0x000000010383be9f IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext + 147
    2 IBCocoaTouchPlugin 0x00000001038b3963 IBReleaseIsWildcat + 1791
    3 IBCocoaTouchPlugin 0x00000001038b3538 IBReleaseIsWildcat + 724
    4 IBCocoaTouchPlugin 0x00000001038b357b IBReleaseIsWildcat + 791
    5 IBCocoaTouchPlugin 0x00000001038389f9 IBReplaceClassNamePrefixWith + 1588
    6 IBCocoaTouchPlugin 0x000000010383c82e IBBuildMarshalledDescriptionOfDocument + 2093
    7 IBCocoaTouchPlugin 0x0000000103836515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    8 IBCocoaTouchPlugin 0x0000000103831cad IBUISegmentConfiguration + 2784
    9 ibtool 0x000000010000829f
    10 ibtool 0x0000000100006e0c
    11 ibtool 0x0000000100003161
    12 ibtool 0x0000000100001dbc
    2010-10-26 17:07:22.017 ibtool[1428:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    2010-10-26 17:07:22.018 ibtool[1428:607] Assertion Failure: NO
    2010-10-26 17:07:22.018 ibtool[1428:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-10-26 17:07:22.018 ibtool[1428:607] Line: 351
    2010-10-26 17:07:22.019 ibtool[1428:607] Backtrace:
    0 IBCocoaTouchPlugin 0x000000010383bf62 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext + 342
    1 IBCocoaTouchPlugin 0x00000001038b3963 IBReleaseIsWildcat + 1791
    2 IBCocoaTouchPlugin 0x00000001038b3538 IBReleaseIsWildcat + 724
    3 IBCocoaTouchPlugin 0x00000001038b357b IBReleaseIsWildcat + 791
    4 IBCocoaTouchPlugin 0x00000001038389f9 IBReplaceClassNamePrefixWith + 1588
    5 IBCocoaTouchPlugin 0x000000010383c82e IBBuildMarshalledDescriptionOfDocument + 2093
    6 IBCocoaTouchPlugin 0x0000000103836515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    7 IBCocoaTouchPlugin 0x0000000103831cad IBUISegmentConfiguration + 2784
    8 ibtool 0x000000010000829f
    9 ibtool 0x0000000100006e0c
    10 ibtool 0x0000000100003161
    11 ibtool 0x0000000100001dbc
    2010-10-26 17:07:22.020 ibtool[1428:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception info:(null)
    /* com.apple.ibtool.errors */
    /Users/myusername/Development/iTennis/MainWindow.xib: error: ibtool failed with exception: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception info:(null)

  • Interface Builder ( IB ) font bug?

    I noticed in ib, if i choose arial and then bold face (for labels, titles etc) it displays the text properly and is the proper bold. but when i deploy the app the text is gone, what i find wierd is in ib if you choose fonts that are not on iphone the text itself looks like it is the default font (eg. it doesnt let you use none iphone fonts)
    so is this a bug with arial bold only?
    i also tried to choose regular arial and then on the interface builder top menu i choose font >> bold and it turns the text bold, and it still doesnt display when compiled..
    It makes no sense to me to have ib to do interface stuff when something like simple font choosing is buggy and/or not properly supported.

    Human interface guidelines mandating a certain degree of consistency in appearance make a lot of sense, as would the fact that you cannot use fonts which are not available on the target system.
    Arial is a horrible ripoff of Helvetica anyway.

  • Interface Builder and subclassing

    Is it possible for me to have the outlet in Interface Builder pointing to a superclass... then in the code using that interface to point to a subclass?
    So for example, suppose I'm setting up an interface in Interface Builder with a HumanView (let's say this is a subclass of UIView)... suppose this is like a character in an MMORPG... and you're customizing your chaacter...
    and correspondingly in my code I have:
    IBOutlet HumanView *character;
    But I'm uncertain whether this view will be a female or male character... In my code I have two subclass of HumanView... FemaleView and MaleView... each with its own unique instance variables and methods...
    Is it possible for me to decide in the program to have make "character" a FemaleView or MaleView?
    Thanks.
    Message was edited by: iphonemediaman

    Not a problem. I did realize I should add one minor clarification.
    1) You can cast a quadralateral to a square in one instance. When you know that actual object (the structure in memory) is a square.
    So, to be complete, you can safely cast a the square to a quadralateral all day long -- you know that a square is always a quadralateral. But if you are going to cast the quadralateral to a square, you should make sure you actually have a square object. The compiler will let you do it (might show a warning), but you could end up trying to reference pieces of a square that may not actually be part of the actual object. aka (in pseudo code):
    // no issues with these two alloc/inits
    Quad *foo = (Quad *)[[Square alloc] init];
    Quad *bar = (Quad *)[[Rectangle alloc] init];
    // both would return 4
    [foo numSides];
    [bar numSides];
    // if setSideLength is only a method on a Square, then
    // first line works fine
    [(Square*)foo setSideLength:20.0];
    // this line, however, will likely give a compiler warning and then
    // an EXC_BAD* error during runtime -- bar is not actually a square
    // in memory, despite what you are telling the compiler
    [(Square*)bar setSideLength:20.0];
    I hope I didn't conuse the issue -- but wanted to clarify.
    Cheers,
    George

  • After upgrading to Mountain Lion, Interface builder starts up with an error every boot.

    I've got a late 2008 Macbook Unibody 13", and a few months back I upgraded from Snow Leopard to Mountain Lion.  Ever since the upgrade, at every boot up Interface Builder starts up with an error.  I've just ignored it mostly, but now I'm getting annoyed with it.  How can I find the programs that start up every boot to research this, or stop it from loading Interface Builder every time?

    You have to delete it using the minus sign at the bottom. The check/un-check is for hiding items.

  • Load Class in Interface Builder 3

    Hello,
    i am trying to get started with Cocoa after having worked a while with Xcode & smaller AppleScript based projects.
    As my idea was to create a menubar-based (NSStatusItem) service app for myself i started with this tutorial:
    http://files.semaja2.net/NSStatusItem%20-%20ObjC.html
    Unfortunaly it seems like there was a change in Interface Builder regarding loading Classes from Version 2 to IB version 3
    The tutorial tells me to (about the middle of the tutorial):
    Rename the “NSMenu1” to “StatusItem”, following this in “Interface Builder” >>choose from the menu “Classes > Read Files..” now select the AppController.h >>file, Once the file has been read it should change out project view to “Classes” >>from here find the AppController item and right click on it and select >>“Instantiate AppController”:
    I was able to follow the tutorial until there without problems but it looks like the Classes-Tab is gone in IB 3.x.
    So i feel somehow unable to finish this small tutorial.
    how would i do this step in Interface Builder 3.x ?
    Any help is heavily appreciated.
    Best regards
    fidel

    fidel-castro wrote:
    I was able to follow the tutorial until there without problems but it looks like the Classes-Tab is gone in IB 3.x.
    So i feel somehow unable to finish this small tutorial.
    how would i do this step in Interface Builder 3.x ?
    You're right, this has changed. I'm currently using IB 3.1.1 but I believe the changes appeared in IB 3.
    Once you've done the "Read class files" and selected your AppController.h file IB should know about your class.
    In order to instantiate your AppController in IB first go to the Library window and find the "NSObject" (it will appear as a blue cube). Drag one of these NSObject's from the Library window and drop it into your MainMenu.xib window along with the other icons that appear there (File's Owner, First Responder, Application... etc).
    Now you will have created an instance of an NSObject in your MainMenu.xib file. And, since your AppController class is a subclass of NSObject (and IB knows this since you've had it read in your AppController.h file) you can now change this NSObject instance into an instance of your AppController.
    Select the NSObject icon in the MainMenu.xib window then go to IB's Inspector window and click on the next to last icon in the top tool bar. This should change the Inspector window's title bar to say "Object Identity" and the Class Identity in the first text field should be set to NSObject. You should be able to type "AppController" into this field (or click the popup and it should show up in the popup list. Once you've done this it will transform the NSObject instance into an AppController instance.
    You'll see another slight difference between IB 3.x and the tutorial when you do the <Control>-Drag between items to connect up the outlets and actions. Instead of finalizing the connections in the Inspector window like the tutorial says you'll get a small popup window right next to the item you're connecting to that will list the available outlets/actions you can connect to. Simply click the one you want. You can still double-check your connections in the inspector window though.
    Steve

  • Looking for simple sample of iphone apps without using Interface Builder

    I successfully went through the 'iphone app tutorial' and used Interface Builder, but now want to try creating apps without it.
    The UI Catalog sample is too complex, but didn't see anything that just had a view and a button or label.
    Ideally I want code that doesn't require any IB usage, but I can't tell if that is possible yet...
    Anyone have a link to an easy sample?
    Or has anyone created a test app themselves and wouldn't mind posting?
    I took a stab at creating one and posted it on the "101" forum, but it would be hard for somebody to try and figure out what I was attempting
    Thx for any links/___sbsstatic___/migration-images/migration-img-not-avail.png
    ps
    I really need a good book, especially "cookbook" style

    hey dear
    I have one solution of your problem
    just go to in iphone developer search for FAQ
    In faq their is one section how to use prohramming in this you can see
    the how to ceate label,button etc.
    after that simply add the view or remove theview.

  • Cannot open nib - The application Interface Builder quit unexpectedly

    Just installed the iPhone SDK and installed sample code. The Interface Builder will not start. At startup, the following message is displayed: "The application Interface Builder quit unexpectedly."
    I've tried the standard Xcode SDK and it has the same problem. I've repaired permissions on the disk, to no avail. I'm stumped on this. Thanks for any suggestions.
    Here's the first section of the crash report, showing the builds for Interface builder and Mac OS X (10.5.6).
    Process: Interface Builder 8090
    Path: /Developer/Applications/Interface Builder.app/Contents/MacOS/Interface Builder
    Identifier: com.apple.InterfaceBuilder3
    Version: 3.1.2 (677)
    Build Info: InterfaceBuilder-6770000~1
    Code Type: X86 (Native)
    Parent Process: launchd 137
    Date/Time: 2009-01-03 19:29:24.618 -0700
    OS Version: Mac OS X 10.5.6 (9G55)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000011
    Crashed Thread: 0
    Thread 0 Crashed:
    0 com.apple.CoreFoundation 0x910272b4 CFRetain + 36
    1 com.apple.HIToolbox 0x911ff566 TThemeFont::SetCTFont(__CTFont const*) + 62
    2 com.apple.HIToolbox 0x911ff4f4 TThemeSpecifiedFont::Init(THIThemeTextInfo const*) + 32
    3 com.apple.HIToolbox 0x9110ccb3 ThemeFontCreate(THIThemeTextInfo const*) + 239
    4 com.apple.HIToolbox 0x9110cb85 TThemeText::ConstructThemeFontWithFontID(__CFString const*, THIThemeTextInfo const*) + 79
    5 com.apple.HIToolbox 0x9110ca49 TCoreTextEngine::Init(void const*, THIThemeTextInfo const*) + 159
    6 com.apple.HIToolbox 0x9110c781 TThemeTextCache::Create(void const*, THIThemeTextInfo const*) + 177
    7 com.apple.HIToolbox 0x9110c659 ThemeTextCreate(void const*, THIThemeTextInfo const*) + 33
    8 com.apple.HIToolbox 0x9110c3b5 DataEngine::GetTextDimensions(void const*, float, HIThemeTextInfo*, float*, float*, float*) + 289
    9 com.apple.HIToolbox 0x9110c250 HIThemeGetTextDimensions + 202
    10 com.apple.HIToolbox 0x912abbad HIClockView::CalculateTextDimensions() + 133
    11 com.apple.HIToolbox 0x912abd82 HIClockView::GetOptimalSizeSelf(CGSize*, float*) + 118
    12 com.apple.HIToolbox 0x9114852d HIView::SendGetOptimalBounds(CGRect*, float*) + 151
    13 com.apple.HIToolbox 0x9114846d HIView::GetOptimalSize(CGSize*, float*) + 53
    14 com.apple.HIToolbox 0x9119bd85 GetBestControlRect + 105
    15 ...terfaceBuilder.CarbonPlugin 0x162f127a IBWindowForHostingCarbonControls + 9638
    16 ...terfaceBuilder.CarbonPlugin 0x162f1b1f IBWindowForHostingCarbonControls + 11851
    17 ...terfaceBuilder.CarbonPlugin 0x162f2766 IBWindowForHostingCarbonControls + 14994
    18 ...terfaceBuilder.CarbonPlugin 0x162f37c8 IBWindowForHostingCarbonControls + 19188
    19 ...terfaceBuilder.CarbonPlugin 0x162eb17a 0x162e5000 + 24954
    20 com.apple.InterfaceBuilderKit 0x002c65e0 -IBLibraryObjectTemplate classesOfPasteboardObjects + 194
    21 com.apple.InterfaceBuilderKit 0x002c64b9 -IBLibraryController typeSummaryForObjectTemplate: + 106
    22 com.apple.InterfaceBuilderKit 0x002c5fc4 -IBLibraryController createAssetForTemplate:inNamespace: + 554
    23 com.apple.InterfaceBuilderKit 0x002c4fe3 -IBLibraryController createAssetsFromTemplatesInNibNamed:forPlugin: + 746
    24 com.apple.InterfaceBuilderKit 0x002c499e -IBLibraryController loadLibraryObjectsForPlugin: + 287
    25 com.apple.InterfaceBuilderKit 0x002c414e -IBPlugin didLoad + 480
    26 ...terfaceBuilder.CarbonPlugin 0x162ea66f 0x162e5000 + 22127
    27 com.apple.InterfaceBuilderKit 0x002c389f -IBPluginController loadPluginAtPath:error: + 2809
    28 com.apple.InterfaceBuilder3 0x00002345 0x1000 + 4933
    29 com.apple.AppKit 0x91f983a3 -NSApplication run + 83
    30 com.apple.AppKit 0x91f658a4 NSApplicationMain + 574
    31 com.apple.InterfaceBuilder3 0x00004eca 0x1000 + 16074

    Thanks for asking. It happens when I click the "Interface builder.app" name in finder and when I double-click an .xib file name in finder.
    As I mentioned, I have repaired permissions on the drive to no avail. I have also read older posts on the web referring to various preference plist files but those don't exist with this build of xcode.
    I have also had older builds of xcode on this mbp and worked thru a couple of tutorials. Interface Builder from those older builds worked. I'm not sure were to get them, now, and I doubt they would have the iphone sdk included.

  • How to instantiate a control in code instead of using Interface Builder ?

    I really appreciate the combination of the interface builder and Xcode altogether.
    However when I am learning QT, I realize I had been pampered by Apple's Design to a certain extend as I only need to create say a NSLabel instance and use Interface Builder to do the linking and never have to worry about instantiating the Object myself.
    But I'm curious, what is the way to instantiate a new hmmm say...NSLabel in the code ?
    NSLabel* label = new NSLabel();
    Then what ?
    What you are seeing here is how QT did it, could anyone create an equivalent in ObjC ? No fancy code please, just bare minimum.
    #include <QApplication>
    #include <QWidget>
    #include <QLabel>
    int main (int argc, char * argv [ ])
    QApplication app(argc, argv); //NSApplication in ObjC
    //These two lines merely created a window and set the title bar text.
    QWidget* window = new QWidget();
    window->setWindowTitle("Hello World");
    QLabel* label = new QLabel(window);//Create a label and inform the it belongs to window.
    label->setText("Hello World");
    window->show();
    return app.exec();
    Message was edited by: Bracer Jack

    Hi Jack -
    I think my best answer will be something of a disappointment, because I don't know how to show a one-to-one correspondence between the code you're working with and a Cocoa program. The main function of a Cocoa GUI program for OS X will look something like this:
    #import <Cocoa/Cocoa.h>
    int main(int argc, char *argv[])
    return NSApplicationMain(argc, (const char **) argv);
    As you commented, we could draw a correspondence between the first statements, but after that the functionality of the Cocoa program is going to be spread out in a way that makes for a rather tedious comparison. The only way I know to answer your question in less than 5000 words, is to skip ahead to one of several points in the startup sequence where the programmer can intervene with custom code.
    For example, a common way to get control would be to program a custom controller class and add an object of that class to the main nib file which is loaded during the startup sequence. By making a connection to the Application object in that nib file, the custom object could be made the delegate of the Application object, and if we then added a method named applicationDidFinishLaunching, our code would run as soon as the application's run loop was started.
    Now I finally have enough context to directly answer your question, so here is the code to create a label and add it to the key window at launch time:
    // MyAppController.m
    #import "AppController.h"
    @implementation AppController
    - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    NSLog(@"applicationDidFinishLaunching");
    NSRect frameRect = NSMakeRect(150, 300, 150, 30);
    NSTextField *label = [[NSTextField alloc] initWithFrame:frameRect];
    [label setEditable:NO];
    [label setStringValue:@"Hello World!"];
    [label setFont:[NSFont labelFontOfSize:20]];
    [label setAlignment:NSCenterTextAlignment];
    NSView *contentView = [self.window contentView];
    [contentView addSubview:label];
    @end
    If I needed to develop a worst case scenario for this thread, the next question would be, "Ok sure, but your code still needs a nib to start up. I want to see a Cocoa GUI program that doesn't require any nib".
    It turns out that it's quite easy to build a simple iPhone app without any nib, but it's considerably more difficult for an OS X app. If anyone wants to see my nib-less iPhone code, I'll be happy to post it (I think I did post it here once before, and the response was underwhelming). But I've never attempted the much more difficult nib-less OS X app. Just in case you really want to go there, here's a blog that goes into the details: [http://lapcatsoftware.com/blog/2007/07/10/working-without-a-nib-part-5-open-re cent-menu>.
    Hope some of the above is helpful!
    - Ray

  • Interface Builder Error: Could not read archive

    I created a new project in Xcode. I double click on MainWindow.xib and it opens up Interface Builder like it should, but then I get an error saying "Could not read archive". This happens every time with any project I have tried to start; please help.

    I' ve the same problem. And if I make a new interface and save it, after a new klick on MainWindow.xib there's tthe error saying too.
    Sorry for my bad Englisch, but I'm German.

Maybe you are looking for