Bug 19036 - Visual Studio - iOS Bundle Signing Custom Resource Rules Issue
Summary: Visual Studio - iOS Bundle Signing Custom Resource Rules Issue
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Debugger ()
Version: 3.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Vinicius Jarina
Depends on:
Reported: 2014-04-14 12:55 UTC by gibarrola
Modified: 2016-05-10 17:03 UTC (History)
6 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:

Description gibarrola 2014-04-14 12:55:26 UTC
Xamarin.IOS Build host fails when performing the "Preparing resources rules" step. Further analysis revealed that the custom resource rules file (e.g. CustomRules.plist) supplied in Visual Studio (project properties -> iOS Bundle Signing tab -> Custom resource rules) was transferred to the OSX machine correctly but was excluded from the application package. 

Note: the "Custom resource rules" file is correctly included in the application package and the build succeeds if the same project is build via Xamarin Studio on the OSX machine. 

Developer setup:
  - OS: Windows 7 x64
  - Visual Studio: Microsoft Visual Studio Ultimate 2012 Version 11.0.61030.00 Update 4
  - Xamarin.iOS 1.10.47

mtbserver.log excerpt:

[14-Apr-2014 10:34:24] 	Provisioning profile: "iOS Team Provisioning Profile: *" [redacted]
[14-Apr-2014 10:34:24] 	    Signing Identity: "iPhone Developer: [redacted]"
[14-Apr-2014 10:34:24] 	              App ID: "[redacted]"
[14-Apr-2014 10:34:24] 	Compressing resources
[14-Apr-2014 10:34:25] 	Embedding provisioning profile
[14-Apr-2014 10:34:25] 	Processing entitlements file
[14-Apr-2014 10:34:25] 	Preparing resources rules
[14-Apr-2014 10:34:25] Error: Resources rules file "CustomRules.plist" not found.
[14-Apr-2014 10:34:25] Command [Build: CommmandUrl=Build] finished (11)
Comment 1 Vinicius Jarina 2014-04-22 09:45:14 UTC
Hi gibarrola

What is the Build Action of CustomRules.plist ??

Thank you.
Comment 2 gibarrola 2014-04-22 14:06:42 UTC
Hi Jarina,

I have tried BundleResource & None without any success. What should the build action be for these files?

Comment 3 Vinicius Jarina 2014-04-23 14:52:32 UTC

Odd..I will take a look.
Comment 4 Vinicius Jarina 2014-04-29 15:35:17 UTC
Hi gibarrola

I did a few tests here, and custom entitlments and resource rules seems to work.

Can you try with 1.12 version (from Beta).

Also, if didn't work, can you provide a small project with you CustomResource.plist ?

Thank you.
Comment 5 Vinicius Jarina 2014-06-17 15:31:34 UTC
Closed due lack of activity.