I have created an iOS Bindings Library for my cross platform project called iOS.Crop. The native library I'm linking to is TOCropViewController 2.0.12. I used a couple of tutorials for using cocoa pods.
I added the iOS.Crop Bindings Library to the project on my Mac as well as all of the Objective Sharpie commands (obviously). I added the generated ToCropViewController.framework as a Native Reference and updated the APIDefinition and Structs. The iOS.Crop project compiled fine.
I then added a reference to iOS.Crop in my iOS project and made calls to the native library and everything worked fine on my Mac. The problem is when I go back to my windows machine with VS 2017. The native project (iOS.Crop) builds fine, but my iOS project throws the following error (Krizzma.iOS is the name of my iOS project) .
Severity Code Description Project File Line Suppression State
Error Native linking failed for '/Users/jeremyalley/Library/Caches/Xamarin/mtbs/builds/Krizzma.iOS/77444036d2543f1c892fafac1b7559f2/obj/iPhone/Debug/device-builds/iphone7.2-10.3.2/mtouch-cache/arm64/libiOS.Crop.dll.dylib'. Please file a bug report at http://bugzilla.xamarin.com Krizzma.iOS C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets 747
Is there something I'm missing to allow this to compile on my windows machine. I've had this issue in the past and a workaround I used was to just copy the iOS.Crop dll to the Krizzma.iOS project and that resolves my issue, but I'd like to get this fixed.