Not able to add Dependency package in my SDK Package

Viewed 23

Right now, I'm creating a package and my package is dependent on a library. If I add SignalR library in my dependency then it isn't working and generation an error:

enter image description here

Here is my Package.swift file:

enter image description here

I checked SignalR library has no Package.swift file on GitHub. So, could it be the issue? and if yes, then how to overcome it?

If I add other dependencies like Alamofire then it works because Alamofire has "package.swift" file on their github.

PS: I can use the SignalR Library in my project but not in Package (creating SDK)

Edit: I have fork it and added it in my github. You can check my github:

now, I'm using it in my package but receiving this error: enter image description here

but If I use the alamfore package, then there is no error.

0 Answers
Related