Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Monaj

macrumors regular
Original poster
May 24, 2009
193
0
I tried to make a simple program of displaying label "Hello" for iPhone simulator! It works fine when executed through Xcode but when I try to run it directly through- Release-iPhoneSimulator folder the application crashes!:eek:
The error which is shown is:
Library not loaded: /System/Library/Frameworks/UIKit.framework/UIKit
Referenced from: /Users/keyss/Desktop/Release-iphonesimulator 2/Hello.app/Hello
Reason: image not found

Although I have added a UIKit framework to it!:confused:
 
I have done a little bit of programming for Mac.. in it if I want to send the application to someone, I just send the release folder to him and he launches and test the application via double clicking .app. I thought that same will work in this case but it doesn't.:( If I want to send my application to test it without sending code then how can I do it:confused:
 
I have done a little bit of programming for Mac.. in it if I want to send the application to someone, I just send the release folder to him and he launches and test the application via double clicking .app. I thought that same will work in this case but it doesn't.:( If I want to send my application to test it without sending code then how can I do it:confused:

Assuming you are a registered iPhone dev, you can setup an adhoc provisioning profile and send it over along with the binary to your beta tester so he/she can run it on the phone.
 
If you double click the .app in finder OSX thinks it's an OSX application and tries to run it as one. Since it's an iPhone application, an error occurs. If you want someone else to run the application he should have Xcode+iPhone SDK installed and you should sent him the entire folder of you project so he can compile and run it. Or, if you are a registered developer, you can do as Compile 'em all said.
 
If someone has the SDK Simulator installed, you actually don't need to send them a complete project folder to build. You can just send them a complete iPhone Simulator Application Support directory, which will contain your app bundle, and all the other necessary configuration settings after you run it on the Simulator on your Mac. Look in your Library directory.
 
I tried to do it. but could not work.
i think i miss something.
do you suggest me, how can do it.

please give me some useful to resolve this problem
thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.