Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPM support for iOS, macOS, tvOS #4118

Closed
wants to merge 1 commit into from
Closed

Conversation

Ragnalorn
Copy link

Currently Swift Package Manager for Xcode11 can only build static libraries. This means that UIKit can't be linked dynamically, so we need to check if UIKit is available and import it if possible. “canImport” is available from Swift 4.1, so these changes won’t cause any compiling issues and everything will work correctly (Carthage, Pods, etc). Since it's CRITICAL to make this lib Swift Package Manager compatible for appleOS platforms, could you please merge this pull request as soon as possible?

@codecov-io
Copy link

codecov-io commented Aug 23, 2019

Codecov Report

Merging #4118 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #4118   +/-   ##
======================================
  Coverage    41.5%   41.5%           
======================================
  Files         119     119           
  Lines       13992   13992           
======================================
  Hits         5807    5807           
  Misses       8185    8185
Impacted Files Coverage Δ
Source/Charts/Renderers/LineChartRenderer.swift 65.67% <ø> (ø) ⬆️
...ource/Charts/Renderers/ChartDataRendererBase.swift 72.41% <ø> (ø) ⬆️
Source/Charts/Renderers/PieChartRenderer.swift 68.93% <ø> (ø) ⬆️
Source/Charts/Charts/PieRadarChartViewBase.swift 19.95% <ø> (ø) ⬆️
Source/Charts/Utils/ChartUtils.swift 57.51% <ø> (ø) ⬆️
...rce/Charts/Renderers/YAxisRendererRadarChart.swift 0% <ø> (ø) ⬆️
Source/Charts/Charts/ChartViewBase.swift 30.22% <ø> (ø) ⬆️
Source/Charts/Components/YAxis.swift 91.89% <ø> (ø) ⬆️
Source/Charts/Components/Description.swift 100% <ø> (ø) ⬆️
Source/Charts/Animation/Animator.swift 4.83% <ø> (ø) ⬆️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd1bb78...cdf8c5c. Read the comment docs.

@liuxuan30
Copy link
Member

liuxuan30 commented Sep 16, 2019

refer #4017

We only need one, can you guys work together, or which one is slightly better to merge?

@rynecheow
Copy link
Contributor

@Ragnalorn swift build is failing for macOS target in your PR.

@liuxuan30
Copy link
Member

Thank you for your effort. We have merged the other one, so closing this

@liuxuan30 liuxuan30 closed this Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants