I installed Alamofire via cocoapods successfully and have been using it when building and running the app on a device from Xcode. Now when I go to archive my project for distribution I get the error:
No such module 'Alamofire'
I switched my provisioning profile to the correct Ad Hoc profile I've been using for distribution, but since I switched to using cocoapods instead of manually installing Alamofire I've been unable to archive. I tried to fix by setting "Build Active Architecture Only" to "No" under build settings but no luck.
There is a chance of mismatch versions between
and pod global platform for your project
I had different bug with same outcome. Bug was caused by custom build scheme which used wrong configuration to create archive. Archiving reported unrecognized library.
After changing configuration to AdHoc_Fortex_D_Env archiving recognized all libraries.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With