Application cannot be launched- Build Error

Discussion in 'iOS Programming' started by rethish, Apr 20, 2009.

  1. rethish macrumors member

    Oct 16, 2008
    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/
    Reason: image not found

    The application cannot be launched. why is it so?

    Thank you in advance
  2. johnnyjibbs macrumors 68030


    Sep 18, 2003
    London, UK
    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.


Share This Page