Giter VIP home page Giter VIP logo

Comments (1)

tohjustin avatar tohjustin commented on May 27, 2024

Same here, I wasn't able to import the framework via Carthage on MacOS

Minimal steps to reproduce the issue

❯ mkdir temp && cd temp
❯ echo 'github "krisk/fuse-swift"\n' > Cartfile
❯ carthage update --platform macOS
*** Fetching fuse-swift
*** Checking out fuse-swift at "1.4.0"
*** xcodebuild output can be found in /var/folders/zz/hrtg5njd3ndc12jmlmfg3lzr0000gn/T/carthage-xcodebuild.57kvhC.log
*** Skipped building fuse-swift due to the error:
Dependency "fuse-swift" has no shared framework schemes for any of the platforms: Mac

If you believe this to be an error, please file an issue with the maintainers at https://github.com/krisk/fuse-swift/issues/new

Proposed fix

I was able to fix this by adding a MacOS build target & scheme in the Xcode project: tohjustin@c2290ce

❯ mkdir temp && cd temp
❯ echo 'github "tohjustin/fuse-swift" "c2290ce"\n' > Cartfile
❯ carthage update --platform macOS
❯ tree Carthage/Build
Carthage/Build
└── Mac
    ├── Fuse.framework
    │   ├── Fuse -> Versions/Current/Fuse
    │   ├── Headers -> Versions/Current/Headers
    │   ├── Modules -> Versions/Current/Modules
    │   ├── Resources -> Versions/Current/Resources
    │   └── Versions
    │       ├── A
    │       │   ├── Fuse
    │       │   ├── Headers
    │       │   │   ├── Fuse-Swift.h
    │       │   │   └── Fuse-umbrella.h
    │       │   ├── Modules
    │       │   │   ├── Fuse.swiftmodule
    │       │   │   │   ├── x86_64-apple-macos.swiftdoc
    │       │   │   │   ├── x86_64-apple-macos.swiftmodule
    │       │   │   │   ├── x86_64.swiftdoc
    │       │   │   │   └── x86_64.swiftmodule
    │       │   │   └── module.modulemap
    │       │   └── Resources
    │       │       └── Info.plist
    │       └── Current -> A
    └── Fuse.framework.dSYM
        └── Contents
            ├── Info.plist
            └── Resources
                └── DWARF
                    └── Fuse

16 directories, 12 files

@krisk Can I submit a PR to fix this?

from fuse-swift.

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.