Publishing Swift Cocoapods
In the past few hours I’ve been battling to get Locksmith, my Swift keychain library, set up as a Cocoapod. No matter what I tried I was hitting “unknown option character ‘X’ in: -Xlinker” and pod lib lint errors
.
Here’s how I got it working:
sudo gem uninstall cocoapods
, and if you have multiple versions, uninstall all of them.sudo gem install cocoapods --pre
Simple, right? Turns out the first step is really important; I had five different versions of Cocoapods installed, and it wasn’t using the latest one.
My products
💅 Vanilla – hide icons from your Mac menu bar for free
🚀 Rocket – super-fast emoji shortcuts everywhere on Mac… :clap: → 👏
⏳ Horo – the best free timer app for Mac
📂 FastFolderFinder – a lightning-fast launchbar app for folders and apps
📖 Kubernetes – my book on Kubernetes for web app developers
😄 Emoji Bullet List – easily emojify your bullet point lists (like this one!)
Jump on my email list to get sent the stuff that’s too raunchy for the blog.
(Seriously though, it’s an occasional update on apps I’ve built and posts I’ve written recently.)
💅 Vanilla – hide icons from your Mac menu bar for free
🚀 Rocket – super-fast emoji shortcuts everywhere on Mac… :clap: → 👏
⏳ Horo – the best free timer app for Mac
📂 FastFolderFinder – a lightning-fast launchbar app for folders and apps
📖 Kubernetes – my book on Kubernetes for web app developers
😄 Emoji Bullet List – easily emojify your bullet point lists (like this one!)
Jump on my email list to get sent the stuff that’s too raunchy for the blog.
(Seriously though, it’s an occasional update on apps I’ve built and posts I’ve written recently.)