Error after building project for iOS [unified]

tkowalczyktkowalczyk PLMember, University ✭✭

In my XF project I decided to move to iOS Unified but I am getting this error:

Error MT0034: Cannot include both 'monotouch.dll' and 'Xamarin.iOS.dll' in the same Xamarin.iOS project - 'Xamarin.iOS.dll' is referenced explicitly, while 'monotouch.dll' is referenced by 'Xamarin.Auth.iOS, Version=1.2.2.0, Culture=neutral, PublicKeyToken=null'. (MT0034) (Persevy.iOS)

Any ideas why I am getting this?

Best Answer

Answers

  • RafaelMouraRafaelMoura BRInsider, University, Developer Group Leader ✭✭✭

    In Package Manger Console try this
    Update-Package -reinstall xamstore-xamarin.auth

  • RafaelMouraRafaelMoura BRInsider, University, Developer Group Leader ✭✭✭

    if u can't move, remove package, move and install package again

  • RafaelMouraRafaelMoura BRInsider, University, Developer Group Leader ✭✭✭

    @tkowalczyk let me know if u do it :)

  • tkowalczyktkowalczyk PLMember, University ✭✭
    edited April 2015

    @RafaelMoura after trying to install / update I am getting this error:
    Could not install package 'xamstore-xamarin.auth 1.2.2'. You are trying to install this package into a project that targets 'Xamarin.iOS,Version=v1.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
    and now I am getting this error:

    /Users/tomaszkowalczyk/Desktop/GitHub/persevymobile/Persevy/Persevy.iOS/MTOUCHTASK: Error MT0034: Cannot include both 'monotouch.dll' and 'Xamarin.iOS.dll' in the same Xamarin.iOS project - 'Xamarin.iOS.dll' is referenced explicitly, while 'monotouch.dll' is referenced by 'Xamarin.Auth.iOS, Version=1.2.2.0, Culture=neutral, PublicKeyToken=null'. (MT0034) (Persevy.iOS)

Sign In or Register to comment.