TimOliver / TOSegmentedControl

A segmented control in the style of iOS 13 compatible with previous versions of iOS.
MIT License
196 stars 24 forks source link

Swift package doesn't work. #15

Closed skywinder closed 4 years ago

skywinder commented 4 years ago

I tried to install it via SPM, didn't add any extra line of code and got error:

image Screenshot 2020-02-16 at 17 44 49
skywinder commented 4 years ago

Xcode Version 11.3.1 (11C504)

skywinder commented 4 years ago

To tell the truth, I got many similar issues with my packages, that I try to port to SPM. Just wondering, did you have any luck to run it?

TimOliver commented 4 years ago

Hi @skywinder! Yeah, I was keeping track of this. You might have noticed I already had an issue open for supporting SPM (https://github.com/TimOliver/TOSegmentedControl/issues/3).

This is an issue I've been getting on a lot of my libraries. An Apple engineer has advised me that it probably requires implementing a manual module map to fix properly. In any case, I haven't had time to look into it.

Feel free to contribute to that first SPM issue if you find anything new that can help.

Thanks! :)