Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need to run Iphone app on simulator without using xcode

I need to distribute my app to be tested using iphone simulators. So I built the binary and whenever i try to run the app by double clicking on it, The app crashes with the error

Dyld Error Message: Library not loaded: /System/Library/Frameworks/UIKit.framework/UIKit Referenced from: /Users//dev/iphone_workspace/MD2final/build/Analyzer-iphonesimulator/MD2final.app/MD2final Reason: image not found

But I have added the UIKit to the project and am Able to run the same application from Xcode by using "Build and go".

Is there a way I can build the binary in my Xcode and distribute only the binary to others for testing.

like image 506
Amal Avatar asked Dec 17 '09 07:12

Amal


1 Answers

You may be able to build for the simulator in RELEASE mode, then zip the file out of the application directory on the Mac and then have your testers unzip it back into their own application directory for the simulator on their machine.

I've read that this works - though I have not tried it myself.

I'll leave it to you as an exercise to locate the files in the right directory.

-t

like image 124
Tim Avatar answered Nov 15 '22 06:11

Tim