Run a compiled iPhone Simulator App Build? (.app) without Xcode? - iphone

So have a complete build of my app compatible for the iOS Simulator on Snow Leopard. Now I don't want to install Xcode on my other Mac to run this.
The question: Is there a way to only install the iOS Simulator? I could install the app on my iOS Simulator on my primary Mac and then just copy the iPhone Simulator folder from the Library folder and paste it on my secondary Mac.
Or is there any other app?

Try Simulator Launcher:
Simulator Launcher builds custom executables to automatically launch an
embedded iPhone Simulator application using the correct iPhone SDK.

The Simulator app depends on other directories and files in the SDK/Xcode installation. Best bet is to install the full iOS SDK and then try deleting Xcode and other stuff until you find the minimum required.
There is no other app.

ios-sim seems to be the only one that works with xcode 6.3
https://github.com/phonegap/ios-sim

Try using app.io, worked great for me, and it's free

Related

XCode 4.6.3 not detecting iphone device which has 7.0.2

The OS version of my phone is 7.0.2 (11A501). I am using XCode 4.6.3. The IDE Xcode is not detecting my iPhone. When i go to organizer it tells me the following
The version of iOS on “Joe iPhone” is not supported by this
installation of the iOS SDK. Please restore the device to a version of
the OS listed below, or update to the latest version of the iOS SDK;
which is available here.
However, i have read in various forums that if i download xCode 5 i will not be able to build for ios 5 or 6 applications. What should i do ? Help/
It sometimes suffices to copy the device support files from a newer Xcode version to an older one. Try copying
Xcode5.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.0 (11A465)
to your Xcode 4 installation, but name it "7.0.2 (11A501)"
There is a neat trick to install the app on and iOS 7 device with Xcode 4.6
First download from the developer center Xcode 5 and install it manually in a separate folder in your Applications folder (I did add it in an Xcode foler, inside Applications).
So now you have both Xcode 4.6 and Xcode 5 on your Mac.
Now, run your code on Xcode 5 and install it on your phone (press the debug button on your iOS device). Once this is done, you can quit Xcode 5, open Xcode 4.6 and it will be able to debug the app on your iOS7 device just fine!
You will be able to run iOS 6 apps easily from xCode 5 - no problem.
Updating xCode is only way to work with iOS 7 devices - you have no choice.
Yes, you have to update your xcode, or create an IPA and install it on your device with iOS 7.0.2 by iTunes.
First of all, definitely you have to install XCode5.
Initially you can build application only against IOS7, but you can manually add IOS6 SDK.
XCode SDK's are placed on this location:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
You can copy IOS6 SDK from this location of XCode4.6 and paste it into same location in XCode5.
This way you can choose will you build your application against IOS6 or IOS7.
Run your code in Xcode5 the again run in Xcode4.6 will solve problem.
if you want to debug your Apps in xcode with ios 7 then, Updating xCode to version xcode 5 is only way to work with new ios (ios 7.0.2) and xcode 5 requirement is MAC os 10.8.4 , you have to update your OS ,if you right now using older version of operating system
Thanks

Can not run and build code which is on xCode4.2 with iPad with os 5.0

HI i am new in iPhone i have tried to build application on xcode4.2 and i have iPad with os 5.0
but when i start application to run i got following message
Xcode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.
can anybody help me how to solve this problem i have tried so much but could not find any solution from googling also
In your project's Build Settings, ensure that the deployment target is set to "iOS 5.0"

How to install ios4.0 simulator in xcode4.2?

I found in xcode4.2, there is only ios5.0 & 4.3 simulator exist. My product should support ios4.0+. How can I install the ios4.0 simulator?
Thank you.
Download
http://developer.apple.com/ios/download.action?path=/iphone/iphone_sdk_4__final/xcode_3.2.3_and_iphone_sdk_4__final.dmg
and install the packages you want on your Developer folder.
Here's step by step on how to do it on Xcode 3.5 but it shouldn't change much from Xcode 4
http://chris-fletcher.com/2010/08/28/howto-install-iphone-sdk-2-0-3-1-for-xcode-3-2/
Short answer, You can't. There is not support.
Also the simulator does not replace real device testing. If something work in the simulator does not mean it work on a device.
My advice, get a device with iOS 4.0 and use that for debuging/testing the app for iOS 4.0.

Xcode 4 will no longer run apps on 4.2.10 device (CDMA iPhone)

Up until today, I have been able to test my app on my CDMA iPhone, running 4.2.10. I am building against the 4.3 SDK, with a deployment target of 4.0.
After restarting my phone today, Xcode will no longer allow me to test the app on my phone, with this message in the Organizer window: "The version of iOS on "iPhone" does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed, or update to the latest version of the iOS SDK"
Unfortunately there are some bugs with location services in the simulator, so I can't use that for testing either.
Can I even install the 4.2 SDK in Xcode 4? Is anyone else having this problem, or (hopefully) does anyone know how to fix it? Thanks for any help!
If you install xcode 4 it will actually gather the build chain from your phone and use it for compiling. You can see this in the organizer window (Window->Organizer?).
You know I had that same issue i found that I had to download the latest xcode and reinstall because for some reason the ios that came with xcode knew how to build on my phone. Sorry man.

How to test different iOSes in simulator

I am finally done with my app. Testing begins! It works great in the most recent 4.3.2 but when I change the device version in simulator to something lesser and launch my app it automatically reverts to the newest 4.3.2 version. How do I overcome this and ensure my app runs on all iphones?
Thanks!
EDIT:
Figured it out! Set the deployment target in Project and Target to the lowest iOS. Next to the Run and Stop buttons, there is a drop down list "Scheme" select the deployment target. It should launch the simulator with the iOS version you select!
To allow simulation in 3.1.3, you must install an old version of Xcode. If you are a registered iPhone developer, you can download Xcode 3.1.4 for Leopard with iPhone SDK 3.1.3 or Xcode 3.1.4 for Snow Leopard with iPhone SDK 3.1.3. Be careful to install these in a different location to your Xcode 3.2.3 with iOS3.2/iOS4 (either select a different hard disk or rename your existing /Developer directory before you install).
Regards
Karan Shah