Warning MSB3341: Could not resolve reference "mylibrary.a", however build works ok.

Hi,

I have created static iOS plugin for Xamarin using Nuget package which has 2 parts
1. C# binding (which DllImport using "__Internal" attribute)
2. Native static library (mylibrary.a)

After installing the Nuget package to the Xamarin app, I see following warning:
warning MSB3341: Could not resolve reference "mylibrary.a". If this reference is required by your code, you may get compilation errors.

Still iOS app builds without errors for iOS simulator and device targets and also works correctly in both.

What could be the reason for the warning / how to get rid-of that ?

I would like to clean-up that before making the delivery for the package.

Tagged:
Sign In or Register to comment.