Bug 46266 - Submission of iOS app targeting 10.1 bundled with watchOS 2 app fails
Summary: Submission of iOS app targeting 10.1 bundled with watchOS 2 app fails
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: XI 10.2 (iOS 10.1)
Hardware: Macintosh Mac OS
: High critical
Target Milestone: 10.2.1 (C8SR1)
Assignee: Vincent Dondain [MSFT]
Depends on:
Reported: 2016-11-01 20:46 UTC by Oleg Demchenko
Modified: 2016-11-02 11:53 UTC (History)
7 users (show)

Is this bug a regression?: Yes
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:

Description Oleg Demchenko 2016-11-01 20:46:13 UTC
Steps to reproduce:
1) Download this sample app - https://github.com/olegoid/SubmissionSamples/tree/master/WatchOS
2) Set your certificates and provisioning profiles
3) Build the app in release mode, archive and publish with Application Loader

Submission fails with - https://gist.github.com/anonymous/f6c30b69b9e060e7ad5dbc4f5f6af664

Submission should pass without errors.

Manually edit Info.plist file in archive and re-export *ipa

Env. info:
Comment 1 Vincent Dondain [MSFT] 2016-11-01 22:22:35 UTC
Fixed in https://github.com/xamarin/xamarin-macios/pull/1092

https://github.com/xamarin/xamarin-macios/commit/37afde6a4369a47373d8de5ea38cac2362e757bc -> "[msbuild] Add watch-companion to UIRequiredDeviceCapabilities for watchOS1 extensions" was actually a 2 part fix.

This first commit introduced a bug where the main app's Info.plist gets the watch-companion key and that's now fixed in PR 1092.
Comment 2 Mohit Kheterpal 2016-11-02 11:53:39 UTC
I have checked this issue and observed that the WatchOS sample having iOS app targetting 10.1 provided in bug description is now uploaded successfully to itunes without any error and got the successfull email. 

using build xamarin.ios-