TorbenK / TK.CustomMap

Extended Map Control
MIT License
142 stars 109 forks source link

Could not link assemblies. Reason: Error while processing references of 'MapTest.iOS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' MapTest.iOS #362

Open matanist opened 5 years ago

matanist commented 5 years ago

Could not link assemblies. Reason: Error while processing references of 'MapTest.iOS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' MapTest.iOS when added in AppDelegate TK.CustomMap.iOSUnified.TKCustomMapRenderer.InitMapRenderer();

Xamarin Forms Version 3.4 I try iPhoneSmulator on MACOS IOS Project Properties: SDK Version: Default Linker Behavior: Don't Link Supported Architectures: x86_64 HttpClient Implementation: Managed

Android project no problem. But iOS project not working.

matanist commented 5 years ago

I tried iPhone. Same problem. Any response?

busec0 commented 5 years ago

I've had the same problem. You could add the mtouch arguments -v -v -v -v under iOS's Project Options -> iOS Build for detailed information about the errors. With this, I've noticed the following issue:

MTOUCH : warning MT0136: Cannot find the assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' referenced from '.../.nuget/packages/tk.custommap/2.0.1/lib/Xamarin.iOS10/TK.CustomMap.dll'.

This will be solved by adding the Newtonsoft.Json Nuget Package in the iOS Project.