Application cannot be launched- Build Error

Discussion in 'iPhone/iPad Programming' started by rethish, Apr 20, 2009.

  1. macrumors member

    #1
    hi all,

    when i use to build an iphone application with ,
    Active SDK: Simulator- iphone 2.2
    Active Configuration: Release
    Active Executable: helloapp-iphone Simulator(2.0)

    I get this error report:

    Library not loaded: /System/Library/Frameworks/UIKit.framework/UIKit
    Referenced from: /Users/rasheedali/Desktop/rethish/iphone/helloapp/build/Release-iphonesimulator/helloapp.app/helloapp
    Reason: image not found

    The application cannot be launched. why is it so?

    Thank you in advance
    rethish
     
  2. macrumors 68030

    johnnyjibbs

    #2
    At a guess I would say that either something in the SDK has become corrupted or got deleted (in which case, you'll have to re-install it) or the error refers to something in your code missing a resource - have you imported all the headers (in particular the UIKit.h header)? This is done automatically by default but it may be that you accidently deleted one of those important lines in the code.

    :confused:
     

Share This Page