Base solution for your next web application
Open Closed

Can't debug into a iphone device. MTOUCH 2102 ERROR #7396


User avatar
0
SASIMEXICO created

Hi,

this is the error ever appear when try to debug in my iPhone 6. In iOS Simulator works fine, but not in device (never run):

/Users/...................../src/GenTime.Mobile.iOS/MTOUCH: Error MT2101: Can't resolve the reference '!!0 Castle.Windsor.IWindsorContainer::Resolve(System.Object)', referenced from the method 'T Abp.Dependency.IocManager::Resolve(System.Object)' in 'Castle.Windsor, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc'. (MT2101) (GenTime.Mobile.iOS)

Working with Mac. All SDK and libraries up to date. Xamarin.Forms 3.6 Xamarin.Forms.Maps 3.6 Essentials 1.0

Any solution?

Thanks


1 Answer(s)
  • User Avatar
    0
    SASIMEXICO created

    Solved.

    Just add "--mono:framework" in mtouch additional arguments, uncheck PNG optimization and "don't link" in the routing.

    Works fine!