You must run the Iphone application on the simulator without using xcode

I need to distribute my testing app using iphone simulators. Therefore, I built a binary file and whenever I try to start the application by double-clicking on it, the application crashes with an error

Dyld Error message: Library not loaded: /System/Library/Frameworks/UIKit.framework/UIKit Link: /Users//dev/iphone_workspace/MD2final/build/Analyzer-iphonesimulator/MD2final.app/MD2final Cause: Image not found

But I added UIKit to the project and I can run one application from Xcode using "Build and go".

Is there a way to create a binary in my Xcode and distribute only binaries to others.

+7
iphone ios-simulator
source share
3 answers

You can build for the simulator in RELEASE mode, then archive the file from the application directory on the Mac, and then your testers will unzip it back to their own simulator application directory on their machine.

I read that this works, although I have not tried it myself.

I will leave this to you as an exercise to find files in the correct directory.

-t

+2
source share
  • You can get the UDIDs of testers' devices and create a new training profile from your developer account, which includes the UDIDs of all these testers.

  • Then you download the provisioning profile, double-click it to install, and use the identifier in your Xcode project that you used when creating the new provisioning profile.

  • In your Xcode project, you need to clean the assembly by pressing cmd + shift + K, and the .app file in the Xcode project will turn red because it will be deleted when you clean the assembly.

  • Then you need to select "Device 3.1.2 | Debug" from the drop-down menu and press cmd + B to build again. This will restore the .app file. You need to right-click and select "Reveal in Finder".

  • You can then provide the preparation profile and the .app file just built by the above step for testers. They can copy the provisioning profile and the .app file to their iTunes, and then synchronize their library, which will copy the application on their device.

They can only test on their device, and there is no way to make it work on the simulator, but that's good. :)

+1
source share

Why don't you want your testers to just install Xcode?

-2
source share

All Articles