centrifugal / centrifuge-swift

Swift client SDK for bidirectional real-time communication with Centrifugo and Centrifuge-based server over WebSocket
MIT License
48 stars 44 forks source link

Couldn't find pc file with SPM? #13

Closed danqing closed 4 years ago

danqing commented 4 years ago

First off, thanks for the great centrifuge package! Really awesome work.

I'm not quite sure what this warning means actually, but after adding centrifuge to my project using Swift Package Manager (thanks for supporting it!) I got the following:

Screen Shot 2019-11-09 at 8 28 41 AM

There isn't any additional detail unfortunately. And I can't seem to be able to do import SwiftCentrifuge after setting it up.

danqing commented 4 years ago

So the pc file issue is I don't have pkg-config installed. Need to do brew install pkg-config. Still figuring out why can't import the package.

danqing commented 4 years ago

Sent in PR to fix this.