There was a bug with using release builds with coc...
# touchlab-tools
k
There was a bug with using release builds with cocoapods, but AFAIK, that should be fixed and published. Cocoapods is a huge PITA for CI, and not that many people are using it now, so the KMMBridge config for it rarely gets run or troubleshot. Cocoapods specifically won't publish unless it can build successfully, which means the 15 things you need to do need to be done exactly correct. The only reasonable way to debug that is to try to publish from you local machine with that release URL, then if that works, try to debug why CI is failing.
b
ooohh ... I might know what it is. I bet I need to change the netrc entry that gets added in the actions workflow. It's currently adding an entry to point to the github packages domain (maven.pkg.github.com), but since I've updated and am now storing the artifact in the release, it's no longer referencing that domain in the url in the podspec. Now it's using api.github.com ... I bet I need to update the netrc entry to include api.github.com ... 🤞
Boom, that was it!
k
Ah, yeah. That.
b
I added a comment to this effect on the existing open PR in the cocoapods quickstart that updates it to use github releases https://github.com/touchlab/KMMBridgeCocoaPodsQuickStart/pull/3