Bug 27721 - [watchkit] cannot edit Info.plist for Watch Extension or Watch App
Summary: [watchkit] cannot edit Info.plist for Watch Extension or Watch App
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.9
Hardware: PC Windows
: High normal
Target Milestone: watchkit
Assignee: Jose Gallardo
URL:
Depends on:
Blocks:
 
Reported: 2015-03-05 18:36 UTC by CraigD
Modified: 2015-03-09 04:54 UTC (History)
6 users (show)

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


Attachments
info.plist editor is not supported for library (218.56 KB, image/png)
2015-03-05 18:36 UTC, CraigD
Details


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:
Status:
VERIFIED FIXED

Description CraigD 2015-03-05 18:36:52 UTC
Created attachment 10180 [details]
info.plist editor is not supported for library

It is expected to be able to edit the Info.plist file for Watch Extension and Watch App projects.

Example screen from Xamarin Studio:
http://developer.xamarin.com/guides/ios/watch/installation/Images/infoplist-extension.png

The Bundle Indentifier can alternatively be set in the Project Properties for both project types, however there is no way currently (except directly in XML) to set the WKAppBundleIdentifier required in the Watch Extension's Info.plist.

Error screenshot from Visual Studio attached.
Comment 1 Jose Gallardo 2015-03-07 10:18:27 UTC
This issue is now fixed.

Emanuel also found that we should do the same with "WKCompanionAppBundleIdentifier" for the WatchApp, and that support is not mentioned in our docs, and it's not editable neither from XS.

Info.plist for the WatchApp must include the Bundle Identifier for the Companion App, and that's what needs to be set in that key (WKCompanionAppBundleIdentifier).

This is all implemented on commits: 
9249f5e737a67c50119778013caf4f111ebf0af3
99e77c2601b0b00789b29e128ab2cdd2161e3ef9

Wrench commit (PR merge) : fa87a7790dd45f2824d0845d029e6f1326e36237
Comment 2 Prashant manu 2015-03-09 04:54:53 UTC
We have checked and now able to edit Info.plist for Watch Extension or Watch App. Screencast: http://www.screencast.com/t/766HSnwwAhT

Environment Info:
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.6.00007 SP1Rel

Installed Version: Ultimate

Microsoft Office Developer Tools   01019-532-2002102-70164
Microsoft Office Developer Tools

Microsoft Visual Basic 2010   01019-532-2002102-70164
Microsoft Visual Basic 2010

Microsoft Visual C# 2010   01019-532-2002102-70164
Microsoft Visual C# 2010

Microsoft Visual C++ 2010   01019-532-2002102-70164
Microsoft Visual C++ 2010

Microsoft Visual F# 2010   01019-532-2002102-70164
Microsoft Visual F# 2010

Microsoft Visual Studio 2010 Architecture and Modeling Tools   01019-532-2002102-70164
Microsoft Visual Studio 2010 Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Microsoft Visual Studio 2010 Code Analysis Spell Checker   01019-532-2002102-70164
Microsoft Visual Studio 2010 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Microsoft Visual Studio 2010 Team Explorer   01019-532-2002102-70164
Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010   01019-532-2002102-70164
Microsoft Visual Web Developer 2010

Crystal Reports Templates for Microsoft Visual Studio 2010   
Crystal Reports Templates for Microsoft Visual Studio 2010

Microsoft Visual Studio 2010 SharePoint Developer Tools   10.0.40219
Microsoft Visual Studio 2010 SharePoint Developer Tools

Microsoft Visual Studio 2010 Ultimate - ENU Service Pack 1 (KB983509)   KB983509
This service pack is for Microsoft Visual Studio 2010 Ultimate - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/983509.

NuGet Package Manager   2.8.50926.602
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Xamarin   3.9.477.0 (8e5e456)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   4.20.0.37 (9e05e39f02bafe8fc0b7ab025d99f3b446835ad4)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   8.7.3.0 (d0ac6c95bbadaf0cf05713b4fa072e15adf5bf08)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.iOS 8.7.3.3| Build host 3.9.0.476