How to test on iOS6 simulator in Xcode

Hi all,

I need some help here, I was trying to test my app on iOS6 simulator in Xcode because one of my beta testers reported problems running app on iOS6, I have Ipad Air and Iphone 4s both running iOS 7 and I cannot downgrade due to stupid apple policies.

Supposedly Xcode’s iOS simulators much more closely resemble real hardware and software environment than Corona simulator.

The problem is that whenever I build for Xcode the application automatically starts in Xcode’s iOS7 simulator, could someone please explain how to run the application in Xcode’s iOS6 simulator.

PS. in order to clarify - I have both simulators (iOS 6 and 7) already installed in Xcode

Hey, this seemed to work for me:

http://cloudlink.soasta.com/t5/TouchTest-Technical-Articles/Install-app-file-to-the-iOS-Simulator-without-using-ios-app/ba-p/31524

With Xcode 6, the path seems to be different. 

~/Library/Developer/CoreSimulator/Devices/<DeviceId>/data/Containers/Bundle/<AppUUID>/App

e.g.

~/Library/Developer/CoreSimulator/Devices/5C9C508B-FA78-434A-8506-722B036CFC3E/data/Containers/Bundle/Application/AppName/Myapp.app

Hi all:

I’ve found the attached structure for an iPhone5/iOS8/Xcode6 simulator, just resetted content and settings.

Any hint on how getting the app UUID (or whatever it is)  and building the Documents/Library/tmp folders structure from myapp.app ?

Thank you for any help.

st

Good question… I found the correct folder under  Containers/Data/Application by going through all of them after initial launch on new device. The simulator seems to create arbitrary structure on first launch?

Hey, this seemed to work for me:

http://cloudlink.soasta.com/t5/TouchTest-Technical-Articles/Install-app-file-to-the-iOS-Simulator-without-using-ios-app/ba-p/31524

the method in your link worked fine for iOS7.1, but I couldn’t get it to work for 8.1 to open on an iPhone6 or 6 plus even when I created a new folder structure that began with that number.

With Xcode 6, the path seems to be different. 

~/Library/Developer/CoreSimulator/Devices/<DeviceId>/data/Containers/Bundle/<AppUUID>/App

e.g.

~/Library/Developer/CoreSimulator/Devices/5C9C508B-FA78-434A-8506-722B036CFC3E/data/Containers/Bundle/Application/AppName/Myapp.app

Hi all:

I’ve found the attached structure for an iPhone5/iOS8/Xcode6 simulator, just resetted content and settings.

Any hint on how getting the app UUID (or whatever it is)  and building the Documents/Library/tmp folders structure from myapp.app ?

Thank you for any help.

st

Good question… I found the correct folder under  Containers/Data/Application by going through all of them after initial launch on new device. The simulator seems to create arbitrary structure on first launch?

the method in your link worked fine for iOS7.1, but I couldn’t get it to work for 8.1 to open on an iPhone6 or 6 plus even when I created a new folder structure that began with that number.