View Full Version : Application cannot be launched- Build Error

Apr 21, 2009, 01:31 AM
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

Apr 21, 2009, 05:54 AM
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.