SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Answered
1
0

Trying to install SciChart.iOS NuGet package for Xamarin.iOS project results the following error:

Package SciChart.iOS 2.0.1.527 is not compatible with xamarinios10 (Xamarin.iOS,Version=v1.0). Package SciChart.iOS 2.0.1.527 supports: xamarinios (xamarin-ios,Version=v0.0)

Wondering what the heck is “xamarin-ios,Version=v0.0”? It must be xamarinios10. We’re considering to buy SciChart but right now our build server is stuck on this error. As a workaround, we raname xamarin-ios to xamarinios10 in the lib directory but this not an option for a cloud build server.

Version
2.0.1.527
  • rubs00
    This forum seems dead. Is there anyone from SciChart team to address this simple issue?
  • You must to post comments
Best Answer
1
0

I’m sorry about the delay in resolving this. I’ve just installed VS2017 along with 20 gigabytes of Xamarin updates đŸ˜€

OK here is the result. Opening a new project -> selecting iOS Single View application and then in package manager console I typed

Install-Package SciChart.iOS 

I have the package source setup in Tools -> Options -> NuGet -> Package sources as https://www.myget.org/F/abtsoftware/api/v3/index.json as per our readme and instructions.

The package SciChart.iOS installed correctly without issue. Here’s a quick readout from the console window.

Attempting to gather dependency information for package 'scichart.ios.2.0.1.527' with respect to project 'App2', targeting 'Xamarin.iOS,Version=v1.0'
Gathering dependency information took 258.55 ms
Attempting to resolve dependencies for package 'scichart.ios.2.0.1.527' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'scichart.ios.2.0.1.527'
Resolved actions to install package 'scichart.ios.2.0.1.527'
Retrieving package 'SciChart.iOS 2.0.1.527' from 'SciChart 2015'.
Adding package 'SciChart.iOS.2.0.1.527' to folder 'C:\Users\Andrew\source\repos\App2\packages'
Added package 'SciChart.iOS.2.0.1.527' to folder 'C:\Users\Andrew\source\repos\App2\packages'
Added package 'SciChart.iOS.2.0.1.527' to 'packages.config'
Successfully installed 'SciChart.iOS 2.0.1.527' to App2
Executing nuget actions took 486.21 ms
Time Elapsed: 00:00:01.2148942

I haven’t gone further than that, trying to determine where or how you got this problem.

I do have all the updates for Xamarin.iOS and have also recently updated the NuGet Package Manager in Visual Studio Tools -> Extensions and Updates.

Please let me know if you continue to experience problems with a new fresh project. I will be glad to investigate further.

Also, for more urgent support the best channel is the tickets under Developers -> Open a support ticket.

Best regards,
Andrew

Images
  • Andrew
    I see, the plot thickens :) Let me try this.
  • Andrew
    I can reproduce it now. Not sure why it occurs. I will talk first to our NuGet host (www.myget.org) and secondly do some research into any changes of the package format.
  • Andrew
    Success!! Can you try package 2.0.1.539? We made a small change to the Nuspec file to install SciChart.iOS in the correct folder. VS2017 with PackageReference now seems to be happy.
  • Andrew
    Also .. build v2.0.1.543 fixes the same issue for Android. We’ve updated our deployment for the examples too which failed to build during this revision range.Thanks for reporting!!! :)
  • rubs00
    Cool. It works now. Thank you, Andrew!
0
0

Hello,

sorry for late reply. Could you please check out your package.config file? Does it look like the following one:

<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="SciChart.iOS" version="2.0.1.527" targetFramework="xamarinios10" />
</packages>

Also, please check your SciChart nuget feed url. It should be like this one:
https://www.myget.org/F/abtsoftware/api/v3/index.json

Best regards,
Yaroslav

  • rubs00
    My NuGet feed URL is the one you provided. However, as package.config is now deprecated in favor of PackageReference, I use that: <PackageReference Include=”SciChart.iOS”> <Version>2.0.1.527</Version></PackageReference>
  • Andrew
    Hi rubs00, using VS2017? Gimme a moment I’ll try it out.
  • rubs00
    @Andrew Yep, VS2017
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

SciChart WPF v5 is here! Use the discount code SCICHARTV5 to get 15% off WPF Charts until December 31st!Read More
+