NIB file doesn't load

Hi,
I had created a new project with the Tab Bar Application Template in XCode. I did not ever touch the AppDelegate classes. Everything used to work perfectly. I must have done something, but now my main view does not load when I Build & Go. Instead, the app terminates due to an uncaught exception. I even tried to undo all my changes and restore the project from a snapshot, but it still will not load. Is this simply a programming bug, or am I doing something wrong? Any help would be greatly appreciated.
-Thanks
P.S. Here is the Log from XCode:
[Session started at 2009-02-04 17:53:16 -0600.]
2009-02-04 17:53:19.783 Pulse New[2457:20b] Unknown class SecondView in Interface Builder file.
2009-02-04 17:53:19.791 Pulse New[2457:20b] * Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<Pulse_NewAppDelegate 0x525070> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key secondView.'
2009-02-04 17:53:19.792 Pulse New[2457:20b] Stack: (
2492227851,
2497429051,
2492226609,
2444026504,
2444025070,
2444568513,
818019035,
2492181573,
818013737,
818022028,
816113908,
816149067,
2444104238,
2491730725,
2491731160,
827745792,
827745989,
816114848,
816160924
[Session started at 2009-02-04 17:53:19 -0600.]
Loading program into debugger…
GNU gdb 6.3.50-20050815 (Apple version gdb-962) (Sat Jul 26 08:14:40 UTC 2008)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin".warning: Unable to read symbols for "/System/Library/Frameworks/UIKit.framework/UIKit" (file not found).
warning: Unable to read symbols from "UIKit" (not yet mapped into memory).
warning: Unable to read symbols for "/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics" (file not found).
warning: Unable to read symbols from "CoreGraphics" (not yet mapped into memory).
Program loaded.
sharedlibrary apply-load-rules all
Attaching to program: `/Users/briancharous/Library/Application Support/iPhone Simulator/User/Applications/ECE31580-35EF-4AE2-B42B-67AEB835F808/Pulse New.app/Pulse New', process 2457.
(gdb)
Message was edited by: brian515

Hey Brian,
I had the same exact issue. I was working on a multi-view app using a tab controller and all of the sudden I get this NSUnknownKeyException. However my invalid key happens to be an outlet to a Picker contained within a subview... I deleted the XIB view which contained the picker and re-impl'd its file's owner. That didnt work.
Finally I recreated the project with the same source code and all of the sudden it worked...
This scares me.

Similar Messages

  • Help file doesn't load

    Sometimes, the FCP X Help "manual" file doesn't load. I'm assuming this comes from Apple every time over the web. If it does, this is odd as other Apple pages are loading normally.
    I have to fall back on the pdf version I saved on my Mac but it's not very searchable.
    Just me?

    Hi JaredHess
    Are you certain it's looking for the .CHM? I'd be looking at
    Tools > Options... > General tab and ensuring the "Use
    Offline Help" hasn't been DE-selected, forcing RoboHelp to look at
    the internet for its help.
    Cheers... Rick

  • Flash CS5.5, SWF file doesn't load TLF text.

    Hiya,
    I just downloaded the trial version of Flash 5.5. I was trying to a tutorial from  Adobe Classroom in a Book: Flash Professional CS5. I was trying to do lesson 7 which is all about TLF text.
    In the tutorial, you insert text that is TLF text. Most of the text doesn't do anything (it's Read-Only). But there is one area that is supposed to be a Mortgage Calcualtor and functions with ActionScript.
    I inserted the ActionScript that makes the Mortgage Calculator text do the proper math. My problem happens when I try to test the movie: the SWF file doesn't display any of the TLF text, and the Output panel gives me the following:
    ReferenceError: Error #1065: Variable TLFTextField is not defined.
    ReferenceError: Error #1065: Variable TCMText is not defined.
    I am confused because there aren't any variables with those names in any of the files of the tutorial, or in the ActionScript I entered. Where is Flash getting those variable names from? O_o
    I even turned the text back into Classic text to see if that helped, but I still get the error. Could this be a glitch with Flash 5.5?
    Thanks for your time.
    Tara

    That file has all the menu items in it.
    A crossdomain file is use as a security measure. Perhaps I see it because I use a webpage on my own server to display your SWF file. Check to see if that's the case with you.
    But I gave it another try.
    I downloaded the menu.swf and the xml file and stored them in a folder. I use a custom webpage and stored that in the same folder.
    Instead of the full URL is simply use the filename.
    <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=6,0,40,0" border="0"
    width="870" height="800">
    <param name="movie" value="menu.swf">
    <param name="quality" value="High">
    <embed src="menu.swf"
    pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1"
    width="870" height="150"></object>
    That works.
    When I paste the <object> code in the HTML Snippet and use relative URLs to the menu in the folder mentioned above, I noticed that the XMLHorizontalMenu.xml is expected to be in the Pagename_files folder. That folder belongs to the iWeb pages it is embedded in. When I put the xml file there, the menu works.
    You have to check the design of the menu.swf file.
    Otherwise, store all files in a separate folder and use a <iframe> to embed it.

  • Xcode 3/Interface Builder - Adding classes to NIB file doesn't work

    I'm attempting to learn Objective-C and Cocoa GUI through Apple's "Currency Convertor" tutorial. I'm currently at the "Add the ConverterController Class to Your Nib File" step, and I add ConverterController.h to the Interface Builder project (both by Read Class Files and dragging) and... nothing happens. The tutorial clearly states that the class should appear as a new icon in the MainMenu.nib window. I've tried researching this problem, and it appears to be quite common, however every fix isn't really a fix at all. They all involve using the Identity Inspector for something, which appears very complicated, and is otherwise uncovered in the tutorial. It occurs to me that anyone knowing enough to be able to use this fix wouldn't be reading this tutorial, thus making such answers moot. Any help anyone could provide on this issue would be appreciated.

    The tutorial you linked to should work fine except that they've just got the illustration (Figure 5-3) in the wrong place.
    The placement of that illustration implies that you should see the instance of your class in the MainMenu.nib window right after doing step 2 (where you read your class file). But that's not really true. In reality it's step 3 that gets you the blue box in the MainMenu.nib window and steps 4 and 5 that will transform it from an "Object" into a "ConverterController". Steps 3, 4 and 5 are exactly what Thomvis suggested that you do earlier.
    Steve

  • CSV FILES DOESN'T LOAD WITH RIGHT DATA USING SQL LOADER

    Hi pals, I have the following information in csv file:
    MEXICO,Seretide_Q110,2010_SEE_01,Sales Line,OBJECTIVE,MEXICO,Q110,11/01/2010,02/04/2010,Activo,,,MEXICO
    MEXICO,Seretide_Q210,2010_SEE_02,Sales Line,OBJECTIVE,MEXICO,Q210,05/04/2010,25/06/2010,Activo,,,MEXICO
    When I use SQLLOADER the data is loaded as follow:*
    EXICO,Seretide_Q110,2010_SEE_01,Sales Line,OBJECTIVE,MEXICO,Q110,11/01/2010,02/04/2010,Activo,,,MEXICO
    And for the next data in a csv file too:
    MX_001,MEXICO,ASMA,20105912,Not Verified,General,,RH469364,RH469364,Change Request,,,,,,,Y,MEXICO,RH469364
    MX_002,MEXICO,ASMA,30094612,Verified,General,,LCS1405,LCS1405,Change Request,,,,,,,Y,MEXICO,LCS1405
    the data is loaded as follow:
    X_001,MEXICO,ASMA,20105912,Not Verified,General,,RH469364,RH469364,Change Request,,,,,,,Y,MEXICO,RH469364
    X_002,MEXICO,ASMA,30094612,Verified,General,,LCS1405,LCS1405,Change Request,,,,,,,Y,MEXICO,LCS1405
    I mean the first character is truncated and this bug happens with all my data. Any suggestion? I really hope you can help me.
    Edited by: user11260938 on 11/06/2009 02:17 PM
    Edited by: Mariots on 12/06/2009 09:37 AM
    Edited by: Mariots on 12/06/2009 09:37 AM

    Your table and view don't make sense so I created a "dummy" table to match your .ctl file.
    SQL> create table CCI_SRC_MX
      2  (ORG_BU               varchar2(30)
      3  ,name                 varchar2(30)
      4  ,src_num              varchar2(30)
      5  ,src_cd               varchar2(30)
      6  ,sub_type             varchar2(30)
      7  ,period_bu            varchar2(30)
      8  ,period_name          varchar2(30)
      9  ,prog_start_dt        date
    10  ,prog_end_dt          date
    11  ,status_cd            varchar2(30)
    12  ,X_ACTUALS_CALC_DATE  date
    13  ,X_ACTUAL_UPDATE_SRC  varchar2(30)
    14  ,prod_bu              varchar2(30)
    15  ,ROW_ID               NUMBER(15,0)
    16  ,IF_ROW_STAT          VARCHAR2(90)
    17  ,JOB_ID               NUMBER(15,0)
    18  );
    Table created.
    SQL> create sequence GSK_GENERAL_SEQ;
    Sequence created.I simplified your .ctl file and moved all the constant and sequence stuff to the end. I also changed the format masks to match the dates in your data.
    LOAD DATA
    INFILE 'SBSLSLT.txt'
    BADFILE 'SBSLSLT.bad'
    DISCARDFILE 'SBSLSLT.dis'
    APPEND
    INTO TABLE CCI_SRC_MX
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (ORG_BU
    ,NAME
    ,SRC_NUM
    ,SRC_CD
    ,SUB_TYPE
    ,PERIOD_BU
    ,PERIOD_NAME
    ,PROG_START_DT          DATE 'dd/mm/yyyy'
    ,PROG_END_DT            DATE 'dd/mm/yyyy'
    ,STATUS_CD
    ,X_ACTUALS_CALC_DATE    DATE 'dd/mm/yyyy'
    ,X_ACTUAL_UPDATE_SRC
    ,PROD_BU
    ,row_id                 "GSK_GENERAL_SEQ.nextval"
    ,if_row_stat            CONSTANT 'UPLOADED'
    ,job_id                 constant 36889106
    {code}
    When I run SQL Loader, I get this:
    {code}
    SQL> select * from CCI_SRC_MX;
    ORG_BU  NAME           SRC_NUM      SRC_CD      SUB_TYPE   PERIOD_BU  PERIOD_NAME  PROG_START_DT        PROG_END_DT          STATUS_CD  PROD_BU  ROW_ID IF_ROW_STAT    JOB_ID
    MEXICO  Seretide_Q110  2010_SEE_01  Sales Line  OBJECTIVE  MEXICO     Q110         11-JAN-2010 00:00:00 02-APR-2010 00:00:00 Activo     MEXICO        1 UPLOADED     36889106
    MEXICO  Seretide_Q210  2010_SEE_02  Sales Line  OBJECTIVE  MEXICO     Q210         05-APR-2010 00:00:00 25-JUN-2010 00:00:00 Activo     MEXICO        2 UPLOADED     36889106
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Edit in Photoshop - Photoshop opens the file doesn't load

    I'm using Photoshop Elements 7 and Photoshop CS4. Previously when I chose the Edit in Photoshop option from PSE7 Photoshop CS4 would launch and the selected image would be loaded. Now when I choose Edit in Photoshop from PSE7 Photoshop CS4 launches but the selected image is not loaded. Can anyone point me in the direction for a resolution on this? Thanks!

    Try removing the preference file: http://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroom-41.html

  • SWF file doesn't load images correctly and buttons do not always work properly.

    YO!
    I have a big problem - I decided to make a website using flash as I am good with photoshop and thought it would be fairly easy to construct in flash using tutorials. All went well except now the website is published, weird things happen. The homepage works fine but when you click on "portfolio" some of the buttons don't appear and when you try the buttons, some images don't appear. Occasionally some of the buttons take you to the wrong place also. When I test the movie in flash, everything works fine so I can't work it out. PLEASE HELP! Ps. I am a complete novice so advice will have to be spelt out in black and white.
    Thanks in advance. Website is here:
    www dot branadesign dot com

    This tends to happen when i press the portfolio button (note only half the buttons on the side appear):
    This sometimes happens when I press the services button (doesn't go to services page and shows buttons down side when it shouldn't):
    I have published the flash file as a SWF and assume all the images are embedded in the file. If you keep pressing buttons repeatedly, the website starts to work which makes me think they are all there but only work once the web browser has cached all the images. I have tried it in firefox and IE with similar effects.
    Pab

  • Logging in sometimes doesn't load personal settings

    Running Lion 10.7.4 on a new iMac 27" connected to an Active Directory domain (but logging in as a local user). Sometimes when I log in my personal settings don't load at all--as if i was a brand new user. When this happens, I can't log out and back in as it freezes halfway through logging out (see screenshot) and i have to do a hard reset.
    I'm stumped. Any ideas/advice appreciated.

    To expand a bit on what I've tried: (Activity window and error windows open)
    running Safari in 32-bit - file is downloaded, but doesn't play. Once got a message that QT had no codec for .mp3 with redirect to 3rd party codec installers.
    running Safari in 64-bit - file doesn't load. Activity reports file cancelled.
    I can download & play the file using Firefox, QT X player, Camino, IE/Windows, and Safari under any OS earlier than Snow Leopard. I have checked on multiple Macs, mine and other people's. All behave the same. Some mp3 files always play, some play sometimes, some never play under Safari/10.6.
    I have deleted the Canon.mp3 file and re-uploaded it to iDisk from my G4 Cube (OS 10.4.11) but it still doesn't play with Safari/10.6. Come to think of it, the problem files were encoded with iTunes under OS 10.6. I'll try encoding to mp3 under Tiger and see what happens.

  • Failed to load window nib file

    I am currently building an Application, and I want to use sereval windows. But if I want to open the second window, I ways get this command line message:
    2011-05-18 20:41:14.069 iLearnVocab[11773:903] -[AddVocabulary loadWindow]: failed to load window nib file 'Add Vocabulary'.
    The compiler sais No Issues. In the Application, there is a button, in the main window, that opens the second Window. At first, I tried, to create an empty XIB and add an NSPanel. After that I tried to use a XIB with a window, but it doesn't really matter. The problem is the same. I tried several things, that might cause this problem. File`s owner is set to an Window Controller, that was made for this window and the name of the window in the code seems to be correct. A Controller, that is responsible for sereval other things (such as  table view or all the other buttons) has this method if the button, which should open the Window is pushed:
    - (IBAction)addVocabulary:(id)sender {
        if (!addVocabularyController) {
            addVocabularyController = [[AddVocabularyController alloc] init];
        NSLog(@"addVocabularyController: %@", addVocabularyController);
        [addVocabularyController showWindow:self];
    I also added an outlet of the window (or panel) to the controller. While hunting this bug, I was looking in Aaron Hillegass "Cocoa programming for Mac OS X" for help. I followed every step how to add an additional window, but it didn't worked in my project. Hillegass example project worked, when I was building it. I did everything like it was done in the example project, but it somehow doesn`t work.
    It would be really great if you could help me, thanks, Elefantosque

    Elefantosque wrote:
    I am currently building an Application, and I want to use sereval windows. But if I want to open the second window, I ways get this command line message:
    2011-05-18 20:41:14.069 iLearnVocab[11773:903] -[AddVocabulary loadWindow]: failed to load window nib file 'Add Vocabulary'.
    - (IBAction)addVocabulary:(id)sender {
        if (!addVocabularyController) {
            addVocabularyController = [[AddVocabularyController alloc] init];
        NSLog(@"addVocabularyController: %@", addVocabularyController);
        [addVocabularyController showWindow:self];
    The error says 'Add Vocabulary' (with a space) - you seem to be using (?) an XIB named 'AddVocabulary' ...?
    What is the name of your XIB, exactly?

  • System wide failure to load .nib files

    Hi everyone,
    I've recently stumbled across a problem. Several of OS X bundled applications are no longer functioning due to uncaught exceptions in the application.
    1) Mail.app throws an exception and terminates when trying to open an e-mail message:
    *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[NSViewController loadView] could not load the "MessageView" nib.'
    2) Stickies.app (Sticky notes) generates a log record (seen in the console app) when attempting to show a sticky note:
    From the console log:
    -[NSWindowController loadWindow]: failed to load window nib file 'StickiesDocument'.
    But the application is not getting terminated.
    3) Preview.app has stopped working, but is not generating any log records or uncaught exceptions.
    4) Terminal.app generates a log record when attempting to open a terminal window at startup:
    From the console log:
    -[TTWindowController loadWindow]: failed to load window nib file '(null)'.
    There might be other apps that could possibly have the same issue
    Having provided the background of the issue my question therefore is: What might be possible solutions to this? (Except reinstalling OS X which is the last (and only) option on my list)
    Thanks in advance!
    With regards,
    Valentine

    Unfortunately, there is no where to download Apple's applications without reinstalling.
    Do a backup. Boot to the Recovery Volume (command - R on a restart or hold down the option key during a restart and select Recovery Volume). Run Disk Utility Verify/Repair and Repair Permissions. Then reinstall the OS.
    OS X Recovery
    OS X Recovery (2)

  • QuickTime fails to launch: "Unable to load nib file"

    QuickTime has decided today that it will no longer launch. When I look at the message generated in Console it says:
    "QuickTime Player[300] Unable to load nib file: MainMenu, exiting"
    This has been happening since I updated my copy of Fetch. I have tried reinstalling QuickTime but it hasn't helped.
    I am running QuickTime Pro 7.1.6 with DivX and Flip4Mac, both of which were installed some time ago and everything has been running fine until this morning.
    Any ideas what I should do next?
    Thanks.
    iBook G3   Mac OS X (10.3.9)   QuickTime Pro 7.1.6 with DivX and Flip4Mac 2.1.1.70

    Did you repair permissions & restart after the
    update?
    I tried repairing the permissions and QuickTime still failed to launch; however, I didn't think to restart the machine. But then I fired up TechTool and it found problems with the volume structure, repaired it, and all is good now. So I'm not sure if TechTool fixed the problem or if it was eventually restarting after repairing the permissions.

  • Mail Unable to load nib file: MailViewer

    Mail decided not to work. looking at the console I get:
    Mail Unable to load nib file: MailViewer, exiting
    I read somewhere that it might have gotten corrupted, and that therefore I need to reinstall. Is there an easy way to install just Mail in its latest version and not go through (likely outdated) pkg installers? Even better, any other way of solving this problem?
    Many thanks in advance.
    Ivan

    I would say you have a serious issue with your hard drive. Consider doing a format with zero all data options enabled, and see if it pass. You might also consider buying some advanced disk repair utility to test (and repair ?) the drive (TechTool, DiskWarrior or Drive 10).
    Is there an (windows burnable) image "updated rescue disk"?
    No, the restore disk comes with each machine and is to keep in safe place.
    Use it to reinstall your system and apply the Mac OS Update via Software Update or using the same combo update.
    Why reward points ?

  • Quicktime: Unable to load nib file: MainMenu, exiting.

    Recently updated OS X to 10.6.8
    Ever since the upgrade, my system quicktime player is completely dead.   Will not launch, displays generic icon in the application folder.
    iMac:QuickTime Player.app ryan$ pwd
    /Applications/QuickTime Player.app
    iMac:QuickTime Player.app ryan$ ls
    Contents
    iMac:QuickTime Player.app ryan$ cd C*
    iMac:Contents ryan$ ls
    Info.plist    MacOS        Resources    _CodeSignature    version.plist
    iMac:Contents ryan$ cd M*
    iMac:MacOS ryan$ ls
    QuickTime Player
    iMac:MacOS ryan$ ./Q*
    2011-12-16 13:40:05.201 QuickTime Player[30859:903] Unable to load nib file: MainMenu, exiting
    iMac:MacOS ryan$
    I've run the repair permissions utility, within the disk utility several times on the volume.
    I've run the verify disk utility on the volume - no problems reported.
    No other application issues that I've noticed; only quicktime is broken.
    Not sure what to do next.   If it gave me a clue about which "nib" file it was after I could go check it.
    iMac:English.lproj ryan$ pwd
    /Applications/QuickTime Player.app/Contents/Resources/English.lproj
    iMac:English.lproj ryan$ ls -lrt
    total 0
    -rw-r--r--  1 root  wheel  5143 Aug  8 06:39 ExportRefMovieForWebTemplate.html
    -rw-r--r--  1 root  wheel   350 Aug  8 06:39 SaveForWebiFrameTemplate.html
    drwxr-xr-x  2 root  wheel   102 Aug  8 06:41 MGRemoteHUDView.nib
    iMac:English.lproj ryan$  cd *nib
    iMac:MGRemoteHUDView.nib ryan$ ls -lrt
    total 0
    -rw-r--r--  1 root  wheel  4208 Aug  8 06:39 keyedobjects.nib
    Am I missing files in that directory structure??

    Did you repair permissions & restart after the
    update?
    I tried repairing the permissions and QuickTime still failed to launch; however, I didn't think to restart the machine. But then I fired up TechTool and it found problems with the volume structure, repaired it, and all is good now. So I'm not sure if TechTool fixed the problem or if it was eventually restarting after repairing the permissions.

  • Safari unable to load nib file?

    I have a user who when they click to start Safari the icon bounces once and does not start.
    I found the crash log that says this,
    5/13/14 2:26:32 PM
    com.apple.launchd[68]
    ([0x0-0x29029].com.apple.Safari[172]) Exited with exit code: 1
    5/13/14 2:26:52 PM
    Safari[174]
    Unable to load nib file: MainMenu, exiting
    5/13/14 2:26:52 PM
    Safari[174]
    Unable to load nib file: MainMenu, exiting
    5/13/14 2:26:52 PM
    com.apple.launchd[68]
    ([0x0-0x2a02a].com.apple.Safari[174]) Exited with exit code: 1
    5/13/14 2:26:52 PM
    com.apple.launchd[68]
    ([0x0-0x2a02a].com.apple.Safari[174]) Exited with exit code: 1
    5/13/14 2:27:37 PM
    com.apple.launchd[68]
    (0x10a1d0.Locum[180]) Exited: Terminated
    I dont know what this means or how to fix it.
    We had a power outage when the user was in Safari.
    OSX 10.5.8
    Safari 5.0.6
    Thanks for your help
    SS

    They need to reinstall Safari : Safari 5.0.6 for Leopard
    although other applications & OS components may also have been affected.

  • Problems loading nib files after class is split into a static library.

    I've recently split a project so that the common re-usable controls are in their own class library. My original application project now references these using a cross project reference.
    However, since I have split the projects up, my original project crashes when it loads main.xib because it cannot find one of the custom classes which is defined in the library project.
    When I first split up the projects, I noticed that there were problems with the nib files not being able to find the IB outlets of the custom classes, but I managed to get around these by going importing the relevant library class files manually (File > Read Class Files…).
    I have made sure that all of the nib files compile without warning, so as far as I can tell, Interface Builder is able to read the necessary class headers, but when I try to run the app, it crashes saying that there is an unknown class in the Interface Builder file and that the class is not coding compliant.
    Are there any steps I've missed or advice on how to troubleshoot this?

    I did a bit of digging. The reason why this wasn't working is because the class in question was referenced by the nib files, but not in code. Therefore, while the code compiled and there were no warnings with the nib files, the linker was not linking the classes because no code used them directly.
    This can be fixed by going to the Project Settings, and on the Build tab, underneath the Linking heading, adding -ObjC to the Other Linker Flags section.

Maybe you are looking for