Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode no such module error when archiving

Using cocoa pods I can build my project and run it fine, but when I try to archive I get no such module errors. I've looked all over and tried a bunch of different things to try to solve this problem to no avail.

The one thing I've found is if I set the target build settings Build Active Architecture Only to 'Yes', I can archive just fine. I'm not sure what that means, or why that affects it at all.. but obviously I want this value set to 'No' for the release version.

like image 497
theacclaimed Avatar asked Jan 03 '18 21:01

theacclaimed


1 Answers

I figured out the problem, all of the deployment targets need to be the same. That is, in the project file, the target, and the pods project as well.

like image 174
theacclaimed Avatar answered Oct 31 '22 15:10

theacclaimed