I'm working on updating some pods I use to also be compatible with SPM and I've updated this one https://github.com/trusk89/SwiftForms.git but when I try to add it to the project I'm using it in, I keep getting
Showing All Messages
: https://github.com/trusk89/SwiftForms.git has no Package.swift manifest for version 1.8.3
Package.swift
is in the root folder so I have no clue what the actual problem is. Anyone have any idea?
The package compiles fine and also the sample app works.
Open your Xcode project, navigate the File tab within the macOS bar, and click on “Add Packages”. In the Add New Package window, you can select from recently used or Apple Swift Packages. Alternatively, you can search for a package via the name or the URL to the Github page.
swift file, or package manifest, describes the configuration for the Swift package. You can double-click it in Finder to open the package in Xcode. The package manifest uses Swift and the PackageDescription framework to define the package's name, products, targets, dependencies on other packages, and so on.
You can also update every single Swift Package in your project at once. To do this, open the Files menu, navigate to Packages and then click Update to Latest Package Versions. Afterwards, make sure to test your project to see if everything still works, especially in projects with a lot of package dependencies.
Make new Release
on Github. SPM read Release
For me the solution below worked:
In Xcode: File -> Swift Packages -> Reset Package Caches
this is probably for the case where the conflicting package has previously been added with the other version
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With