Build for simulator always opens iPhone 4s

In the latest daily build, though it’s been happening for a while for me, no matter what Corona SDK simulator I’m using, building for the Xcode Simulator always spawns the iPhone 4s. Does anyone else have this issue?

Happened after Xcode 6.1 for me. This thread is helpful to circumvent the problem: http://forums.coronalabs.com/topic/51497-switching-between-devices-in-ios-simulator/

Thanks, that’s exactly what I was looking for!

In the latest daily build, though it’s been happening for a while for me, no matter what Corona SDK simulator I’m using, building for the Xcode Simulator always spawns the iPhone 4s. Does anyone else have this issue?

What version of Xcode are you using?  What version of OS X?  What Daily Builds have you tried (an example will do)?

When you run the Xcode iOS Simulator something like the following should appear in the Corona Simulator console, what actually appears in yours?

Using Xcode iOS Simulator from Xcode 6.0.1 + '/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/ios-sim' launch /Users/perry/Desktop/IntrospectionDemo.app --family ipad --retina

I’m using Xcode 6.1 on OS X Yosemite. I don’t remember which daily builds exactly (aside from the latest one), but like jonjonsson pointed out, this was most likely after I moved to Xcode 6.1.

The command that runs looks like this:

Using Xcode iOS Simulator from Xcode 6.1

  • ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/ios-sim’ launch /Users/DFox/Documents/Games/Builds/Dragon.app --devicetypeid ‘com.apple.CoreSimulator.SimDeviceType.iPhone-6, 8.0’

Happened after Xcode 6.1 for me. This thread is helpful to circumvent the problem: http://forums.coronalabs.com/topic/51497-switching-between-devices-in-ios-simulator/

Thanks, that’s exactly what I was looking for!

In the latest daily build, though it’s been happening for a while for me, no matter what Corona SDK simulator I’m using, building for the Xcode Simulator always spawns the iPhone 4s. Does anyone else have this issue?

What version of Xcode are you using?  What version of OS X?  What Daily Builds have you tried (an example will do)?

When you run the Xcode iOS Simulator something like the following should appear in the Corona Simulator console, what actually appears in yours?

Using Xcode iOS Simulator from Xcode 6.0.1 + '/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/ios-sim' launch /Users/perry/Desktop/IntrospectionDemo.app --family ipad --retina

I’m using Xcode 6.1 on OS X Yosemite. I don’t remember which daily builds exactly (aside from the latest one), but like jonjonsson pointed out, this was most likely after I moved to Xcode 6.1.

The command that runs looks like this:

Using Xcode iOS Simulator from Xcode 6.1

  • ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/ios-sim’ launch /Users/DFox/Documents/Games/Builds/Dragon.app --devicetypeid ‘com.apple.CoreSimulator.SimDeviceType.iPhone-6, 8.0’