Bug 57750 - Warning GD811092D: duplicate protocol definition of 'CALayerDelegate' is ignored
Summary: Warning GD811092D: duplicate protocol definition of 'CALayerDelegate' is ignored
Status: RESOLVED DUPLICATE of bug 48311
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 10.8 (d15-1)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-06-25 15:44 UTC by BB
Modified: 2017-06-27 12:31 UTC (History)
5 users (show)

Tags:
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:
RESOLVED DUPLICATE of bug 48311

Description BB 2017-06-25 15:44:29 UTC
I've just upgraded from Xamarin Studio (6.3) to Visual Studio (7.0.1) for Mac and I'm getting the following 2 warnings: (which I wasn't getting with Xamarin Studio with identical code):

    .../iOS/obj/iPhone/Debug/mtouch-cache/64/registrar.m(11,11): Warning GD811092D: duplicate protocol definition of 'CALayerDelegate' is ignored (GD811092D) (FormationApp.iOS)


    .../iOS/obj/iPhone/Debug/mtouch-cache/32/registrar.m(11,11): Warning GD811092D: duplicate protocol definition of 'CALayerDelegate' is ignored (GD811092D) (FormationApp.iOS)

It happens when building the project with:

    Debug > Generic Device

(there are no warnings when it's Debug > iPhone SE iOS 10.3)
Comment 1 Manuel de la Peña [MSFT] 2017-06-27 10:14:35 UTC
Hello,

Could you provide the full environment information that you are using? 

Easiest way to get exact version information:
- On Visual Studio for Mac: "Visual Studio" menu, "About Visual Studio" item, "Show Details" button.
- On Visual Studio for Windows: "Help menu", "About Microsoft Visual Studio" item.
Then copy/paste the version information (you can use the "Copy Information" button).
Comment 2 BB 2017-06-27 10:20:00 UTC
OK here is the environment info:


=== Visual Studio Community 2017 for Mac ===

Version 7.0.1 (build 24)
Installation UUID: 4931e3d6-8305-4972-8853-fdb1b89f5f24
Runtime:
	Mono 5.0.1.1 (2017-02/5077205) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 500010001

=== NuGet ===

Version: 4.0.0.2323

=== .NET Core ===

Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/msbuild/15.0/bin/Sdks

=== Xamarin.Profiler ===

Version: 1.5.4
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 8.3.2 (12175)
Build 8E3004b

=== Xamarin.Mac ===

Version: 3.4.0.36 (Visual Studio Community)

=== Xamarin.iOS ===

Version: 10.10.0.36 (Visual Studio Community)
Hash: d2270eec
Branch: d15-2
Build date: 2017-05-22 16:30:53-0400

=== Xamarin.Android ===

Version: 7.3.1.2 (Visual Studio Community)
Android SDK: /Users/billbatchelor/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.3   (API level 10)
		4.0.3 (API level 15)
		4.4   (API level 19)
		5.1   (API level 22)

SDK Tools Version: 24.3.3
SDK Platform Tools Version: 22
SDK Build Tools Version: 22.0.1

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Inspector ===

Version: 1.2.2
Hash: b71b035
Branch: d15-1
Build date: Fri, 21 Apr 2017 17:57:12 GMT

=== Build Information ===

Release ID: 700010024
Git revision: 7ab1ca2ced6f584e56b7a0d4d321d00775cd95c9
Build date: 2017-05-19 05:44:51-04
Xamarin addins: 08d17158f3365beee5e60f67999e607cce4b3f93
Build lane: monodevelop-lion-d15-2

=== Operating System ===

Mac OS X 10.12.5
Darwin 16.6.0 Darwin Kernel Version 16.6.0
    Fri Apr 14 16:21:16 PDT 2017
    root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64
Comment 3 Rolf Bjarne Kvinge [MSFT] 2017-06-27 12:31:52 UTC
You can ignore these warnings, they're harmless.

In any case we've already fixed the issue, these warnings won't appear in future versions of Xamarin.iOS.

*** This bug has been marked as a duplicate of bug 48311 ***