Code Monkey home page Code Monkey logo

Comments (7)

cezarywojcik avatar cezarywojcik commented on August 17, 2024

Should be good to go!

88623f8

from cwstatusbarnotification.

schickling avatar schickling commented on August 17, 2024

Great!

from cwstatusbarnotification.

schickling avatar schickling commented on August 17, 2024

Sorry for the misunderstanding but you need to push the build scheme for the framework, not for the demo.

from cwstatusbarnotification.

cezarywojcik avatar cezarywojcik commented on August 17, 2024

Ah, I guess the misunderstanding came about because the demo build scheme is the only build scheme. The library was meant to be used by importing the two *.swift files.

As an exercise, though, I went ahead and tried settings things up as a framework. I haven't used either Carthage or custom frameworks in the past, though, so I'm hoping I set things up correctly.

be8a8e5

However, I was only able to get the framework to work myself when using a workspace, though I'm somewhat new to this, so I'm not sure if I'm importing the framework incorrectly or whether something is set up incorrectly.

Let me know if things work as intended for you. If not, feel free to submit a PR.

from cwstatusbarnotification.

schickling avatar schickling commented on August 17, 2024

Thanks so much for you effort @cezarywojcik. We're slowly getting there!

Another thing about Carthage. It looks for the schemes in the alphabetically first Xcode project file. So at the moment it takes the demo instead of the framework. Would you mind to change that as well? 👍

from cwstatusbarnotification.

cezarywojcik avatar cezarywojcik commented on August 17, 2024

I assumed Carthage would know to choose a framework project. Alphabetical listing seems... silly.

I googled around and it seems like Carthage picks the root-most, alphabetically sorted project. I would prefer not to have to reorganize just because Carthage likes things a certain way. Do you know of a way to just specify the project for Carthage to target? I Googled around real quick and couldn't find a way.

If there's not a way, I'll find a way to reorganize things, but I would prefer not to have to do that.

from cwstatusbarnotification.

schickling avatar schickling commented on August 17, 2024

Well at the moment the workaround is the do carthage checkout, go the the cloned repository and delete the demo folder by hand before running carthage build. I guess that's the price one has to pay by not having a dedicated Carthage.spec or something like this.

from cwstatusbarnotification.

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.