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

Cannot build Charts project using Carthage #3555

Closed
1 task
dmansilva opened this issue Jul 12, 2018 · 2 comments
Closed
1 task

Cannot build Charts project using Carthage #3555

dmansilva opened this issue Jul 12, 2018 · 2 comments

Comments

@dmansilva
Copy link

ℹ Please fill out this template when filing an issue.
All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.

Per our *CONTRIBUTING guidelines, we use GitHub for
bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag ios-charts.

Please remove this line and everything above it before submitting.

What did you do?

  1. Installed .pkg for Carthage
  • ran 'carthage version' and that returned '0.30.1' which is correct.
  1. Added a Cartfile to my project and only added the first line from the readme
    github "danielgindi/Charts" == 3.1.1

  2. Ran 'carthage build --no-skip-current' and the build failed because it couldn't compile.
    ISSUE looks like...

*** xcodebuild output can be found in /var/folders/_3/yx74cq_j31l6825wltqslph00000gn/T/carthage-xcodebuild.MMRizf.log
*** Building scheme "Charts" in Charts.xcworkspace
Build Failed
Task failed with exit code 64:
/usr/bin/xcrun xcodebuild -workspace /Users/local/Documents/Development/Apple/coreduetviewer/KnowledgePerfApp/Carthage/Checkouts/Charts/Charts.xcworkspace -scheme Charts -configuration Release -derivedDataPath /Users/local/Library/Caches/org.carthage.CarthageKit/DerivedData/10.0_10L177m/Charts/v3.1.1 -sdk appletvos CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean -showBuildSettings -skipUnavailableActions

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/_3/yx74cq_j31l6825wltqslph00000gn/T/carthage-xcodebuild.MMRizf.log

It appears as though the project that I am attempting to use charts in have different build architectures. Charts doesn't seem to build for iOS, just macOS.

My project is built for iOS 12/swift 4.2

Any guidance on how I can use carthage to install and build the Charts project properly?

I can't upload any project because it is confidential but some more clarity on steps for using carthage would be helpful.

Charts Environment

Charts version/Branch/Commit Number:
Xcode version:
Swift version:
Platform(s) running Charts:
macOS version running Xcode:

Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue.

@liuxuan30
Copy link
Member

post what's in This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/_3/yx74cq_j31l6825wltqslph00000gn/T/carthage-xcodebuild.MMRizf.log

or the reason it stopped compiling.

@pmairoldi
Copy link
Collaborator

We don't support iOS 12, swift 4.2 or Xcode 10 right now. Probably why it doesn't build.

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

3 participants