alexiscn / SynologyKit

Synology File Station SDK for Swift
MIT License
37 stars 8 forks source link

Package resolution failed. #2

Closed CPiersigilli closed 5 years ago

CPiersigilli commented 5 years ago

If I try to add package of you SynologyKit with "Add Package Dependency..." I have the error:

Schermata 2019-11-10 alle 15 37 17

Can you fix it? Thank you.

alexiscn commented 5 years ago

I think it is CocoaPods Cache problem...

CPiersigilli commented 5 years ago

I'm not an expert on these issues, but I noticed that, for example, Alamofire contains a file called Package.swift (click here), which is not present in your SynologyKit: could this be the problem?

alexiscn commented 5 years ago

I'm not an expert on these issues, but I noticed that, for example, Alamofire contains a file called Package.swift (click here), which is not present in your SynologyKit: could this be the problem?

Yes. Currently Synology Only Support CocoaPods. Maybe will support Swift Package later.

alexiscn commented 5 years ago

Please try again..

CPiersigilli commented 5 years ago

I tried, but below I show you the error.

Schermata 2019-11-12 alle 21 37 27
alexiscn commented 5 years ago

My bad. I forgot that 0.2.6 version does not contains Package.swift file.

Now fixed. Try 0.2.7 :D

CPiersigilli commented 5 years ago

Great. Now work fine.

subayks commented 4 years ago

Can anyone help me to fix this issue ?..i am using xcode 11 . i am getting same error "package resolution error "

Thanks in advance

alexiscn commented 4 years ago

Can you paste your error snapshot.

I created a new project using Xcode 11.4, and add SynologyKit as a package dependency.

1585554648027

And after a few minutes. The package is successfully added.

1585554909924

alexiscn commented 4 years ago

It seems you are not adding SynologyKit using SPM ?

swift-lambda-app seems can not resolved by Xcode SPM. But it has document for how to intergrate.

If you want to add swift-lambda-app as a swift package dependency. Then you should open an issue to swift-lambda-app.

subayks commented 4 years ago

Thanks 😄