-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package manager import not working #17
Comments
Hi, first of all: a happy new year to you, too :) On the topic: it seems like something changed in the swift package manager since I wrote that documentation. Since the name of the package and the target differ, you need to explicitly name the package in the dependencies. Have a look over at FITSKit. |
Hi,
thanks for the quick reply.
I looked at the file, and it seems there are further deprecated issues going on there.
I’ve changed it up, and got it where the module imports, but the dependency on Numerics is causing another chain issue there.
The error message is:
Failed to resolve dependencies Dependencies could not be resolved because root depends on 'swift-numerics' 1.0.0..<2.0.0 and 'fitscore' depends on 'swift-numerics' 0.0.5..<1.0.0.
Would it be possible to changed the dependency of Numerics in FITSCore to the above?
Thanks
… On 1 Jan 2023, at 7:03 pm, May ***@***.***> wrote:
Hi,
first of all: a happy new year to you, too :)
On the topic: it seems like something changed in the swift package manager since I wrote that documentation. Since the name of the package and the target differ, you need to explicitly name the package in the dependencies. Have a look over at FITSKit <https://github.com/brampf/fitskit/blob/master/Package.swift>.
Apologies for not keeping the documentation up-to-date. But this project is still maintained. So in case you need something, please feel free to ask.
—
Reply to this email directly, view it on GitHub <#17 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAJHQFJ6DIOPKOFJ4NFVS2DWQFB4TANCNFSM6AAAAAATN7VWLA>.
You are receiving this because you authored the thread.
|
Hi Again,
I think I will fork and do some pull requests once I got the basics done and I can do some operations with FITSCore. The module is important enough in my investigations to warrant some love haha.
… On 1 Jan 2023, at 7:03 pm, May ***@***.***> wrote:
Hi,
first of all: a happy new year to you, too :)
On the topic: it seems like something changed in the swift package manager since I wrote that documentation. Since the name of the package and the target differ, you need to explicitly name the package in the dependencies. Have a look over at FITSKit <https://github.com/brampf/fitskit/blob/master/Package.swift>.
Apologies for not keeping the documentation up-to-date. But this project is still maintained. So in case you need something, please feel free to ask.
—
Reply to this email directly, view it on GitHub <#17 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAJHQFJ6DIOPKOFJ4NFVS2DWQFB4TANCNFSM6AAAAAATN7VWLA>.
You are receiving this because you authored the thread.
|
Final hi,
Works fine now. This swift-package thing is a bit wonky sometimes :/
… On 1 Jan 2023, at 7:03 pm, May ***@***.***> wrote:
Hi,
first of all: a happy new year to you, too :)
On the topic: it seems like something changed in the swift package manager since I wrote that documentation. Since the name of the package and the target differ, you need to explicitly name the package in the dependencies. Have a look over at FITSKit <https://github.com/brampf/fitskit/blob/master/Package.swift>.
Apologies for not keeping the documentation up-to-date. But this project is still maintained. So in case you need something, please feel free to ask.
—
Reply to this email directly, view it on GitHub <#17 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAJHQFJ6DIOPKOFJ4NFVS2DWQFB4TANCNFSM6AAAAAATN7VWLA>.
You are receiving this because you authored the thread.
|
Well, it seems like this lib needs update and probably could get rid of the numerics dependency at all like it does on linux. Feel free to create a pull request, I'm looking forward to review and merge |
Hi,
First off thanks for this great module, it will really help me take a lot of server code out and put it into my app's client side functionality.
I've just finished a Swift wrapper for the MAST API https://github.com/triple7/SwiftMAST
I am at the point of testing product downloads and file manipulation using FITSCore.
Just followed the instructions but I get the 2 errors below:
SwiftMAST, 3 issues
dependency 'fitscore' is not used by any target
product 'FITS' required by package 'swiftmast' target 'SwiftMAST' not found.
FITS, Error
No such module 'FITS'
The relevant portions are:
Hopefully I can get an answer as I'm working starting Tuesday and would like to have this package completed before then haha
Happy new year :)
The text was updated successfully, but these errors were encountered: