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

Multiple 'Charts.framework'. Build fails due to dependencies. #897

Closed
murrayjl03 opened this issue Mar 29, 2016 · 5 comments
Closed

Multiple 'Charts.framework'. Build fails due to dependencies. #897

murrayjl03 opened this issue Mar 29, 2016 · 5 comments

Comments

@murrayjl03
Copy link

Hi, I have dragged the Charts.xcodeproj into my project and when I go to add the Charts.framework I have multiple options:
screen shot 2016-03-29 at 18 20 09

When I add any of these i get 'build failed' with the following errors:
screen shot 2016-03-30 at 10 09 00

I am using Xcode 7 and swift 2 if that helps at all! Any help would be appreciated as this looks like exactly what i need!

@liuxuan30
Copy link
Member

You will have error messages if you cannot compile for the warning and error's tab on left panel. You should check why you cannot build first.

@hardikdevios
Copy link

@murrayjl03 my personal recommendation would be to use the CocoaPods. If you are targeting over iOS 8

@murrayjl03
Copy link
Author

@liuxuan30 Thanks for the tip! My Errors are:
screen shot 2016-03-30 at 10 09 00

Thanks!

@murrayjl03 murrayjl03 changed the title Multiple 'Charts.framework'. Build fails and no reason Multiple 'Charts.framework'. Build fails due to dependencies. Mar 30, 2016
@murrayjl03
Copy link
Author

@hardikdevios I am new to CocoaPods. When looking at the tutorial (https://www.raywenderlich.com/97014/use-cocoapods-with-swift) it uses the dependencies "pod 'Alamofire', '2.0.2'", what would I use in this case? Thanks for your suggestion :)

@danielgindi
Copy link
Collaborator

First try to run ChartsDemo. If you can compile and run that - then you should be able to drag into your project without any trouble. If you cannot compile that - then you are not using the correct Xcode version. Xcode 7.3 was release recently and we moved the codebase to Swift 2.2.

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

No branches or pull requests

4 participants