Can't get the app to Ios compile

2 posts, 0 answers
  1. Safak
    Safak avatar
    1 posts
    Member since:
    Mar 2016

    Posted 14 Jul Link to this post

    Hi,
    I've been working with a trial version for Xamarin Forms Telerik Controls. 

    Android and UWP works great. When i try to debug on ipad device I get the following error

     

    SeverityCodeDescriptionProjectFileLineSuppression State
    ErrorFailed to resolve "Telerik.XamarinForms.Common.iOS.IosRendererBase`2" reference from "Telerik.XamarinForms.Common, Version=2017.2.626.234, Culture=neutral, PublicKeyToken=null" C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets747

     

     

  2. Lance | Tech Support Engineer, Sr.
    Admin
    Lance | Tech Support Engineer, Sr. avatar
    419 posts

    Posted 17 Jul Link to this post

    Hi Safak,

    The error states that it cannot find a reference. without seeing your project directly, I cannot tell you exactly what is wrong. My suspicion is that the iOS linker is removing Telerik assemblies (we are currently tracking a similar problem).

    To work around this, enable XAML Compilation (i.e. XamlC).

    If you're not familiar with Xamarin.Forms XamlC, it's a very simple thing to do. Just add the following attribute to your Common project's App class:

    // In your common project's App.xaml.cs (or App.cs) class
     
    [assembly: XamlCompilation (XamlCompilationOptions.Compile)]
    namespace YourAppName
    {
      ...
    }


    Then Rebuild the application and try deploying again.

    Next Steps

    If this doesn't work for you, we'll need to investigate further. Please go here to open a support ticket and attach your project  so that we can take a look at it directly. 

    Note: Please remember to delete the Packages/bin/obj folders before zipping it up, this will decrease your project from 10's of MB to just 1 or 2 MB)

    Regards,
    Lance | Tech Support Engineer, Sr.
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top