Bug 11707 - Better error message needed when MinimumOSVersion does not include an attached device's version
Summary: Better error message needed when MinimumOSVersion does not include an attache...
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: 6.3.x
Hardware: PC Mac OS
: High enhancement
Target Milestone: 7.0.6
Assignee: PJ
URL:
Depends on:
Blocks:
 
Reported: 2013-04-10 13:17 UTC by Rodrigo Kumpera
Modified: 2013-12-12 11:07 UTC (History)
5 users (show)

Tags: error improvement, papercuts, templates
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 or GitHub 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:
Status:
VERIFIED FIXED

Description Rodrigo Kumpera 2013-04-10 13:17:27 UTC
I have X.iOS 6.3.4.33 and mono 3.0.8.

If I try to deploy the single view sample to device I get:


Installation failed: The 'MinimumOSVersion' inside Info.plist does not include the device version (error: 0xe800007e)
error MT1006: Could not install the application '/Users/kumpera/Projects/simple_view/simple_view/bin/iPhone/Debug/simple_view.app' on the device: The 'MinimumOSVersion' inside Info.plist does not include the device version (error: 0xe800007e).
The application was terminated by a signal: SIGHUP

I'm targeting an iPad 2 running iOS 6.0.1.

If I edit the plist Deployment Target from empty to 6.0 it works.

This is frustrating, can't we handle this better? Be by giving a more actionable error message such as "Open Info.plist and edit field XXXX to YYY"
Comment 2 PJ 2013-07-09 11:50:32 UTC
I agree this is fairly annoying. I've asked Jeff about whether or not we can choose that default value in a different way to avoid this, and he's convinced that there's not a more correct implementation given the current system.

A more instructive error message would alleviate the issue for new users.
Adding some tags and moving to the XS iOS Add-in
Comment 3 Jeffrey Stedfast 2013-07-09 14:22:58 UTC
All of the project templates were recently fixed to specify a MinimumOSVersion (some didn't before).

The error message seems to be from MonoTouch and not Xamarin Studio
Comment 4 Miguel de Icaza [MSFT] 2013-12-02 12:24:38 UTC
PJ, can you give us an update, and your desired workflow for this one?
Comment 5 PJ 2013-12-02 12:45:28 UTC
There is now an additional message, which fits the need:

"The minimum supported version of iOS is set to 7.0, which the device does not support.
Either update the device to iOS 7.0 or newer, or set the Deployment Target in your
project settings to a version your device supports."
Comment 6 PJ 2013-12-11 18:45:48 UTC
This fix is planned to be released with Xamarin.iOS 7.0.6, which should hit the beta channel before December 23rd.
Comment 7 Mohit Kheterpal 2013-12-12 11:07:24 UTC
Today we have checked this issue with following builds :

XS 4.2.2 (build 2)
X.iOS 7.0.6.139
Mono 3.2.6

As per comment 5, now we are getting message :
"The minimum supported version of iOS is set to 7.0, which the device does not support.
Either update the device to iOS 7.0 or newer, or set the Deployment Target in your
project settings to a version your device supports."

Hence closing this issue.