highcharts / highcharts-ios

iOS wrapper for Highcharts.
Other
127 stars 39 forks source link

Mac OS version #428

Closed Vincz closed 10 months ago

Vincz commented 1 year ago

Hi. Is there a reason or an specific API being used that prevent the support of Mac OSX?

ihnatmoisieiev commented 1 year ago

Hello @Vincz, I guess MacOS is supported. Do you have any issues? Please give more details. Thank you!

Vincz commented 1 year ago

Hi @ihnatmoisieiev , i can't install the package on Mac Os. I think the problem may be related to the package file as it only indícate support for IOS. I'll try to clone and Add support to Mac OS to see.

ihnatmoisieiev commented 1 year ago

@Vincz which version of the framework are you using? MacOS should be included on the latest versions also.

Vincz commented 1 year ago

@ihnatmoisieiev My bad. It's working. It's just that by default, when we add the package, it set the version to 6 -> 7, so the installation failed. With the right version it works. I think the default would be fixed by adding macOs(v11) in the https://github.com/highcharts/highcharts-ios/blob/master/Package.swift

Vincz commented 1 year ago

@ihnatmoisieiev I've been able to add the package and the framework to a Mac Os project. But when I try to compile it, I get the following error message:

/Users/xxx/Library/Developer/Xcode/DerivedData/UI-dtbldhmcdmcdzkfnzcaoknvsksrf/SourcePackages/checkouts/highcharts-ios/Highcharts.xcframework:1:1 While building for macOS, no library for this platform was found in '/Users/xxx/Library/Developer/Xcode/DerivedData/UI-dtbldhmcdmcdzkfnzcaoknvsksrf/SourcePackages/checkouts/highcharts-ios/Highcharts.xcframework'.

I'm not an expert in Xcode frameworks, but shouln't the compatibility with macOs be declared somewhere? I only see stuff related to IOS.

Screenshot 2023-11-22 at 4 32 57 PM

Vincz commented 12 months ago

Hey @ihnatmoisieiev! Any idea how we could make this work with Mac OS?

ihnatmoisieiev commented 12 months ago

Hello @Vincz, as you can see from the framework's content we are only supporting Mac Catalyst at the moment.

Vincz commented 11 months ago

@ihnatmoisieiev I see. Any plan to release it for Mac OS?

ihnatmoisieiev commented 10 months ago

@Vincz there are no any plans for Mac OS as far as I know at the moment.

ihnatmoisieiev commented 10 months ago

Closing for now. Feel free to ask any additional questions you have.