did this solve your issue @Sebastian Peredo Murga? I'm running into the same issue after adding cocoapods to my project. I haven't had any luck with the proposed suggestions.
nevermind! Umit's suggestion did fix my issue. it just also broke my moko resources configuration which I was able to fix by adding a new build phase. thanks!