Comments (8)
You are using the new tag, correct?
github "i-schuetz/SwiftCharts" ~> 0.3
from swiftcharts.
Yes I am, I cannot figure it out is it due to the XCODE problems or your library, which is great by the way :). When I remove the SwiftCharts library, the project builds correctly. The project is entirely Swift from scratch.
from swiftcharts.
Thanks. I could reproduce it. Solved it by adding the framework to embedded binaries.
from swiftcharts.
I just tried it with same result, please see attachment. Do you have any other idea?
from swiftcharts.
Mhh it worked for me. See also here
I also removed the script build phase.
The script phase seems to be a carthage workaround for http://www.openradar.me/radar?id=6409498411401216, maybe this is fixed in Xcode 7?
from swiftcharts.
Here again exactly what I did:
rm -rf ~/Library/Caches/org.carthage.CarthageKit/dependencies/
rm -rf ~/Library/Caches/org.carthage.CarthageKit/binaries/
(this fixes possible "Failed to discover shared schemes in project ..." error)
carthage update
Drag framework to embedded binaries
Build
from swiftcharts.
Ok, I managed to fix it and here is what I did:
- Removed already built SwiftCharts framework completely (in project settings from project in Linked Framework and libraries in general tab and deleted Run Script completely in Build Phases tab). Also deleted Carthage folder in the project folder
- Cleaned the XCODE project and deleted derived data
- Installed Carthage via Homebrew package manager and SwiftyJSON framework( followed instruction from this tutorial http://www.raywenderlich.com/109330/carthage-tutorial-getting-started ). I added new run script in build phases tab
- After that compiled without errors, I added SwifttCharts to cart file, updated and added the built framework ONLY to the Linked Frameworks and Libraries in General tab (not in embedded binaries). Also I added $(SRCROOT)/Carthage/Build/iOS/SwiftCharts.framework input file in Build Phases tab
- After that I finally built the app successfully without errors.
Thanks, you can close this issue.
from swiftcharts.
Great!
from swiftcharts.
Related Issues (20)
- Static library
- Temporarily hide lines in Line chart
- What's the correct way to set contentView background color and border? HOT 1
- Is this kind of y axis layout possible:
- Extending Views to create custom views isn't working due to file private and internal properties
- How to overlay a layer of labels?
- Axis disappear after coming back from background
- X Y points in horizontal bar chart keeps moving rights; when the y axis labels length (text) is more
- Swift 5
- Changing axis values
- X values not adding properly
- Axis Labels not showing up HOT 2
- ChartLabelSettings() ignoring supplied font color, always defaults to black HOT 1
- SPM Support?
- Problem building on new MacBook
- SPM not working properly due to missing TAG HOT 1
- x, y Axis didn't show in the Chart HOT 2
- ChartPointsBubbleLayer not draws properly HOT 1
- how to dynamic live update line chart
- How can i make xAxisLabel to get multiple data instead of one value for one xAxisLabel ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftcharts.