rsms / peertalk

iOS and Mac Cocoa library for communicating over USB
https://rsms.me/peertalk/
MIT License
3.43k stars 502 forks source link

Cocoapods Not Updated #43

Closed FrederickGeek8 closed 3 years ago

FrederickGeek8 commented 7 years ago

After installing peertalk via Cocoapods (and not changing anything else about my project), I get the following linking error: 4 duplicate symbols for architecture x86_64

I've tried every solution I can find online, so I was hoping it was an issue with the project. Can anyone reproduce my error / offer a solution?

I was using Swift, but I ended up recreating my project as Objective-C and that didn't fix it.

The Cocoapods version available right now is 0.0.1. I noticed in #32 that version 0.0.1 is throwing linking errors. Seeing as there is a Podfile in the repository, it looks like this is meant to be officially on Cocoapods, however the version available is not what is in the Podfile here.

FrederickGeek8 commented 7 years ago

For anyone that is currently encountering this issue, it can be temporarily fixed by adding pod 'PeerTalk', :git => 'https://github.com/rsms/peertalk' to your Podfile. This will make it so it analyzes the repository and not the current Spec on the Cocoapods website.

jonathandann commented 3 years ago

pod 'PeerTalk', :git => 'https://github.com/rsms/peertalk', :tag => '0.1.0' works as of today. Once the pod repo itself is updated, the :tag => '0.1.0' will not be required.