-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Unable to compile with Swift Package Manager due to missing dependencies #4016
Comments
This issue currently blocks the use of Charts as a package dependency in Xcode 11. Finally we have a dependency solution integrated into Xcode, so I would love to see some movement on this! |
I'm having the same problem while trying to migrate from CocoaPods to SwiftPM so I'll guess I'll have to stick with CocoaPods. |
I believe I have merged the SPM PR last week. #4017 until then I cannot push a new version for Xcode11. Either you grab the source code or wait. |
I just converted a project to use Swift Package Manager instead of Cocoapods and I can confirm that your PR works as advertised. Thanks! 🎉 |
@5teveroy so you can let SPM use master branch, as well as a specific release? like 3.3.0? |
Yes. Currently I pointed it to |
ah, that's great it can do this. then stay tuned! thx |
I'm facing this issue when integrating into Xcode 11.7 using SPM. |
Ok. figured out a couple of issues and now the build passes for me locally. there are typos
and missing imports of UIKit in 3 files (the root cause of "Cannot find type NSTextAlignment in scope") |
@ArthurValiev I have the same issue, it would be great if you could open a PR with your fixes! |
This issue seems to still be present |
What did you do?
cd
to working directoryswift build
What did you expect to happen?
Compilation successful for all supported platforms
What happened instead?
Compilation failed for all platforms. Log attached.
Charts Environment
Charts version/Branch/Commit Number: 3.3.0
Xcode version: 10.2.1
Swift version: 5.0
Platform(s) running Charts: macOS, iOS, tvOS
macOS version running Xcode: 10.14
Demo Project
Just download from 3.3.0 tag would do.
The text was updated successfully, but these errors were encountered: