Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Mar 27, 2019 · 2 comments

Comments

@matanist
Copy link

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
Copy link
Author

matanist commented Apr 1, 2019

I tried iPhone. Same problem. Any response?

@busec0
Copy link

busec0 commented Apr 16, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants