Bug 11345 - [MTVS] The sample "PinChit" crashes as soon as it launch on the physical device.
Summary: [MTVS] The sample "PinChit" crashes as soon as it launch on the physical device.
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.1.x
Hardware: PC Windows
: High major
Target Milestone: 1.1.x
Assignee: Vinicius Jarina
Depends on:
Reported: 2013-03-22 05:41 UTC by Nischal
Modified: 2013-04-01 09:03 UTC (History)
8 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Comment 1 Nischal 2013-03-25 03:46:04 UTC
An update to above issue:
It seems that this application is only for devices with iOS 6.0 or above, as it is working file with iPhone iOS 6.0.1 and iPod iOS 6.0

Build info:
VS 2010/12

Application info:
Comment 2 Marek Habersack 2013-03-25 05:52:32 UTC
The bug must have to do with invalid automatic selection of the iOS simulator by VS.
Comment 3 Nischal 2013-03-25 07:07:54 UTC
An update t the above issue:

This sample application is working fine on the device as well as on simulator with iOS 6.0 or above.

However, with the simulator with iOS 5.1 it does not even show the option "iPhone Simulator 5.1" in the drop down and this is happening with both VS and XS.

So it seems that this issue is iOS specific, it is happening only with devices/simulators with iOS 5.1

PJ please look into it and let us know if this sample application is meant to work only on the devices/simulators with iOS 6.0 or above and we can close this bug as feature.

Comment 4 Marek Habersack 2013-03-25 07:27:38 UTC
Nischal, it seems that if the app is 6.0+ then not showing the 5.1 simulator option is the correct behavior.
Comment 5 PJ 2013-03-25 10:16:57 UTC
We do need to be sure that the extension isn't allowing you to deploy to a device that is below the minimum iOS setting.

Is that the case?
Comment 6 Marek Habersack 2013-03-25 10:31:34 UTC
PJ, yep, that's it. Although considering comment 3 - we ARE doing it at least on the VS side. Perhaps it's the server side that doesn't select the simulator properly.
Comment 7 PJ 2013-03-25 14:28:10 UTC
Yeah, so not showing the iOS 5 simulators may not be enough, they're still able to start a deploy to an iOS 5 device and just have it crash (even with minimum OS set to 6.0).

They should be stopped by the extension.

Nischal, or perhaps Atin, regression status?
Comment 8 Atin 2013-03-25 15:16:21 UTC
We have checked this issue using MTVS 1.0.897 for same application and we are getting proper error message:

"MT1006:Could not install the application '/Users/nischal/Library/Caches/Xamarin/mtbs/builds/PinchIt/8d0c79d1-6a71-4e88-8330-96eb48578b7e/output/Debug/iPhone/PinchIt.app' on the device: The 'MinimumOSVersion' inside Info.plist does not include the device version (error: 0xe800007e)".
Comment 9 PJ 2013-03-25 15:30:35 UTC
Confirmed as a regression according to comment 8
Comment 10 PJ 2013-03-25 18:09:46 UTC
Heyo so it looks like the behavior reported in comment 8 and comment 7 is wrong, according to my local testing.

I see the exact same behavior on bigsplash (1.0.897) as I do on the current test build (1.1.194).

I think I know where there might be a source of confusion however - the behavior differs between release mode and debug mode. 

I've filed this as bug 11400.
Comment 11 Saurabh 2013-04-01 09:03:33 UTC
As per bug 11400 changing the status of this bug to Verified