GithubHelp home page GithubHelp logo

Could not install about swaggen HOT 3 CLOSED

daisoreanu avatar daisoreanu commented on June 3, 2024
Could not install

from swaggen.

Comments (3)

daisoreanu avatar daisoreanu commented on June 3, 2024

Also got the next error while trying to install using Mint:

🌱 Resolving package
error: 'github.com_yonaskolb_swaggen': Invalid manifest
/private/var/folders/f2/p_q5bmbx0n32f2k65kh53rm40000gp/T/mint/github.com_yonaskolb_SwagGen/Package.swift:2:8: error: no such module 'PackageDescription'
import PackageDescription
^
🌱 Encountered error during "swift package resolve"
🌱 Failed to resolve SwagGen 4.7.0 with SPM

from swaggen.

daisoreanu avatar daisoreanu commented on June 3, 2024

Managed to fix the issue.

The problem was that Swift Package Manger(SPM) was pointing to CommandLineTools, not to Xcode:
/Library/Developer/CommandLineTools

Used this command to find the path:
xcode-select --print-path

And it should be (it may be different on your machine):
/Applications/Xcode.app/Contents/Developer

Update it using:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

from swaggen.

rigamikhail27 avatar rigamikhail27 commented on June 3, 2024

Thanks!

from swaggen.

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.