Bug 36565 - Google Maps for iOS 1.10.3.0 Component fails to build
Summary: Google Maps for iOS 1.10.3.0 Component fails to build
Status: RESOLVED FIXED
Alias: None
Product: Components
Classification: Xamarin
Component: Xamarin Components ()
Version: N/A
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Israel Soto [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-12-03 21:55 UTC by Erlend Figenschau Lund
Modified: 2017-11-23 05:30 UTC (History)
5 users (show)

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


Attachments
Test project for reproducing problem (23.98 KB, application/zip)
2015-12-03 21:55 UTC, Erlend Figenschau Lund
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 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 FIXED

Description Erlend Figenschau Lund 2015-12-03 21:55:11 UTC
Created attachment 14110 [details]
Test project for reproducing problem

The Google Maps for iOS 1.10.3.0 Component fails to build.
When added to a project through the Component Store, the component generates 103 build errors.

The first build error is:
../GoogleMapsTest/MTOUCH: Error MT5212: Native linking failed, duplicate symbol: '__ZN7gmscore8renderer11Animation3D6UpdateEPKNS0_4TimeE'. (MT5212) (GoogleMapsTest)

Attached is a simple iOS project with the component added. The project doesn't do anything (it has never been successfully built and executed).

I have not located a relevant bug report, but this forum thread discusses the issue https://forums.xamarin.com/discussion/50817/google-maps-for-ios-component-update#latest 

The component addes the Nuget package Xamarin.Google.iOS.Maps version 1.10.3.0. Adding this package alone also causes the same build errors.
Comment 1 Sebastien Pouliot 2015-12-04 02:41:08 UTC
-> components
Comment 2 Israel Soto [MSFT] 2015-12-07 19:37:45 UTC
This only happens on Simulator, as a workaround, adding `--registrar:static` to Additional mtouch arguments to Debug and Release configurations resolves the problem.
Comment 3 Jayden Spring 2015-12-14 17:03:38 UTC
This seems to just cause the application to hang when launching on the simulator.
Comment 4 Israel Soto [MSFT] 2017-11-23 05:30:39 UTC
This seems to be fixed on Google Maps for iOS version 2.1.0.2