Can't get the app to compile after adding UI for Xamarin

5 posts, 0 answers
  1. Alex
    Alex avatar
    3 posts
    Member since:
    Sep 2014

    Posted 03 Oct Link to this post

    Hi,

    I've been working with a trial version for a while which is I think a release older than the current. Today I purchased the full version and I've been having trouble getting it to work.

    I get the following crash t if I set the Linker Behavior to "Don't Link":

    Can't find custom attr constructor image: /Users/xxxx/Library/Developer/CoreSimulator/Devices/xxx/data/Containers/Bundle/Application/xxx/xxx.iOS.app/Telerik.Xamarin.iOS.dll mtoken: 0x0a000079

    Unhandled loader error: 7, (null) Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065 ObjCRuntime.UserDelegateTypeAttribute
    error: * Assertion: should not be reached at ../../../../../mono/mono/metadata/loader.c:299
    critical: Stacktrace:

     

    If I set the Linker Behavior to: Link Framework SDKs only, I get a compiler error:

     

    MTOUCH: Error MT2002: Failed to resolve "System.Void ObjCRuntime.UserDelegateTypeAttribute::.ctor(System.Type)" reference from "Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065" (MT2002) (xxx.iOS)

     

    Anyone can shed some light into this please? I have installed UI by manually referencing needed dlls as per docs here: http://docs.telerik.com/devtools/xamarin/controls/chart/chart-getting-started

    Below is the dev environment info

    === Xamarin Studio Community ===

    Version 6.0.2 (build 73)
    Installation UUID: 184f2bac-7590-4ddb-9312-6066744f2adb
    Runtime:
    Mono 4.4.2 (mono-4.4.0-branch-c7sr1/f72fe45) (64-bit)
    GTK+ 2.24.23 (Raleigh theme)

    Package version: 404020011

    === Xamarin.Profiler ===

    Not Installed

    === Apple Developer Tools ===

    Xcode 7.3.1 (10188.1)
    Build 7D1014

    === Xamarin.Mac ===

    Not Installed

    === Xamarin.iOS ===

    Version: 9.8.2.22 (Xamarin Studio Community)
    Hash: f37444a
    Branch: cycle7-sr1
    Build date: 2016-07-28 12:17:02-0400

    === Xamarin.Android ===

    Version: 6.1.2.21 (Xamarin Studio Community)
    Android SDK: /Users/alex/Library/Android/sdk
    Supported Android versions:
    5.0 (API level 21)
    5.1 (API level 22)
    6.0 (API level 23)

    SDK Tools Version: 25.1.7
    SDK Platform Tools Version: 24.0.2
    SDK Build Tools Version: 23.0.3

    Java SDK: /usr
    java version "1.7.0_79"
    Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
    Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)

    Android Designer EPL code available here:
    https://github.com/xamarin/AndroidDesigner.EPL

    === Xamarin Android Player ===

    Not Installed

    === Build Information ===

    Release ID: 600020073
    Git revision: a6f7a24a9723a2d4f5d33c176615b0d44703ab5b
    Build date: 2016-07-26 13:36:15-04
    Xamarin addins: f5acb37866a0141bc5ddbe95118f18dae4014568
    Build lane: monodevelop-lion-cycle7-sr1

    === Operating System ===

    Mac OS X 10.11.6
    Darwin Alexs-MacBook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0
        Thu Jun 23 18:25:34 PDT 2016
        root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64

    === Enabled user installed addins ===

    Redth's Addins 1.0.2

  2. Alex
    Alex avatar
    3 posts
    Member since:
    Sep 2014

    Posted 04 Oct in reply to Alex Link to this post

    Ok, after a few hours spent debugging this I think I found what the issue is.

    ObjCRuntime.UserDelegateTypeAttribute has been added in Xamarin.iOS 9.99. I'm using an older version of Xamarin.iOS and can't upgrade at the moment because of other dependencies. And I can't download an older version of UI for Xamarin Cross Platform.

    It would be nice if the documentation or release notes, or somewhere on the website it specified the require versions of Xamarin.iOS, Xamarin.Android and Xamarin.Forms. I would not have purchased it if I knew it didn't support the version I was using.

     

     

     

  3. DevCraft banner
  4. VincentH
    VincentH avatar
    8 posts
    Member since:
    Sep 2016

    Posted 05 Oct in reply to Alex Link to this post

    Did you find a solution?

    I have the exact same problem. Would rather not upgrade Xamarin yet because the latest "stable" build has many issues and is anything but stable. Even service release 0 leaves many of these unaddressed.

  5. Alex
    Alex avatar
    3 posts
    Member since:
    Sep 2014

    Posted 05 Oct in reply to VincentH Link to this post

    I don't have it working yet but I think I know what I need to get it working. I used version number 2016.1.113 of the trial component and it worked fine with my Xamarin setup. But I can't download that version of the paid component from the Telerik website. I submitted a support ticket, called them on the phone, and they say they need to backdate my license in order for me to get access to earlier versions, but they have some reason their system won't let them to that. 

    So I'm stuck waiting on them.

  6. Lance | Tech Support Engineer, Sr.
    Admin
    Lance | Tech Support Engineer, Sr. avatar
    135 posts

    Posted 05 Oct Link to this post

    Hi Alex and Vincent,

    Trial products are not provided for previous releases in the product's downloads page, only the current release is available as a trial. However, you can request a previous version be provided in a support ticket.

    Alex,
    I see that you have done this already, someone from the engineering team will respond to that ticket thread directly and provide the requested release.

    Vincent,
    If you also need such a requirement, please open a support ticket here and request the specific version you need.

    Note that is not the case for a paid license. You get the full release history, internal builds and betas for the amount of time that your license was active. For example, your trial runs out in 24 days, so if you purchased a UI for Xamarin license for 10-2016 to 10-2017, you'll always be able to download versions in that time frame as the licensing is perpetual.

    I hope I was able to clarify this for you, please let us know if you have any further questions.

    Regards,
    Lance | Tech Support Engineer, Sr.
    Telerik by Progress
    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
DevCraft banner