Bug 40800 - Cannot build app after referencing Google Maps for iOS component
Summary: Cannot build app after referencing Google Maps for iOS component
Status: RESOLVED DUPLICATE of bug 40973
Alias: None
Product: Components
Classification: Xamarin
Component: Xamarin Components ()
Version: Production (addons.xamarin.com)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Israel Soto [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2016-05-02 08:23 UTC by michael
Modified: 2016-05-23 16:27 UTC (History)
3 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 40973

Description michael 2016-05-02 08:23:56 UTC
Building an iOS app at the moment and added version 1.11.1.2 of the Google Maps component for iOS. After doing so, I've tried to compile code and get the following error (i've used obscured some of the folder names with "...")

Unpacking failed. Please download 'https://www.gstatic.com/cpdc/c0e534927c0c955e-GoogleMaps-1.11.1.tar.gz' and extract it to the 'C:\...\...\...\packages\.xbcache\GMaps-1.11.1' directory and create an empty file called 'C:\...\...\..\packages\.xbcache\GMaps-1.11.1.unpacked'

Followed the instructions by extracting the contents of that file to the specifed directory and creating an empty file called GMaps-1.11.1.unpacked through notepad. Compilation still fails with the error

C:\...\...\...\packages\.xbcache\GMaps-1.11.1\Frameworks\GoogleMaps.framework\Versions\A\GoogleMaps

I've checked the folder structure and it doesn't match but there is another tar file. The structure of the contents match but extraction leads to some access denied errors due to symbolic links and would result in another build error if the contents are place in the C:\...\...\...\packages\.xbcache\GMaps-1.11.1

Native linking error: file not found: /Users/BtrOffice/Library/Caches/Xamarin/mtbs/builds/.../582d7bb36712546a7af33690f491ff80/obj/iPhoneSimulator/Debug/mtouch-cache/GoogleMaps
Comment 1 michael 2016-05-02 22:49:24 UTC
Forgot to add that the code is being built through Visual Studio 2015
Comment 2 Bill Holmes 2016-05-10 13:27:17 UTC
Thanks for the report.  

Please try to upgrade the Xamairn.Build.Download to that latest beta.

https://www.nuget.org/packages/Xamarin.Build.Download/0.2.2-beta1

This is a workaround.
Comment 3 Bill Holmes 2016-05-10 13:27:35 UTC

*** This bug has been marked as a duplicate of bug 40973 ***
Comment 4 naki.online 2016-05-21 02:31:30 UTC
I still have the same build problem with Xamarin.Build.Download 0.2.2-beta1.
Comment 5 Bill Holmes 2016-05-23 16:27:07 UTC
Do you happen to have Google Analytics installed as well?  I fixed a bug in analytics late last week that was causing the GoogleMaps file to not be written correctly.  

Please update all Xamarin.Google.iOS.* NuGets to their latest version.  Also the 0.2.2-beta1 version of Xamarin Build Download should not be needed.  You should downgrade to 0.2.1.