Xamarin Forms: native error with Microsoft.Azure.Mobile

  • 152 Views
  • Last Post 15 December 2016
  • Topic Is Solved
erportico posted this 15 December 2016

Today I added to my project

using Microsoft.Azure.Mobile;
using Microsoft.Azure.Mobile.Analytics;
using Microsoft.Azure.Mobile.Crashes;

I should use Visual Studio Mobile Center but after that I receive an error for 52 times

/Users/enricorossini/Projects/myInventories/myInventories/myInventories.iOS/MTOUCH: Error MT5209: Native linking error: warning: object file (/Users/enry/Projects/myInventories/my/my.iOS/obj/iPhone/Debug/build-ipad6.3-10.1.1/mtouch-cache/MobileCenterAnalytics.a(MSPageLog.o)) was built for newer iOS version (8.0) than being linked (7.0) (MT5209) (my.iOS)

 What can I do to resolve it? Thank you in advance.

Enrico posted this 15 December 2016

The minimum SDK version is iOS 8.0 and above. In your Xamarin iOS project, open Info.plist file and set the "Deployment Target" to be at least 8.0 to fix the linking error.

  • Liked by
  • erportico
Close