GithubHelp home page GithubHelp logo

Comments (8)

ivnsch avatar ivnsch commented on May 12, 2024

You are using the new tag, correct?

github "i-schuetz/SwiftCharts" ~> 0.3

from swiftcharts.

pavlem avatar pavlem commented on May 12, 2024

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.

ivnsch avatar ivnsch commented on May 12, 2024

Thanks. I could reproduce it. Solved it by adding the framework to embedded binaries.

from swiftcharts.

pavlem avatar pavlem commented on May 12, 2024

I just tried it with same result, please see attachment. Do you have any other idea?
1
2

from swiftcharts.

ivnsch avatar ivnsch commented on May 12, 2024

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.

ivnsch avatar ivnsch commented on May 12, 2024

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.

pavlem avatar pavlem commented on May 12, 2024

Ok, I managed to fix it and here is what I did:

  1. 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
  2. Cleaned the XCODE project and deleted derived data
  3. 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
  4. 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
  5. After that I finally built the app successfully without errors.

Thanks, you can close this issue.

from swiftcharts.

ivnsch avatar ivnsch commented on May 12, 2024

Great!

from swiftcharts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.