I can run my app in the simulator and on my device just fine. However, as soon as I try to archive the app (in order to upload it to iTunes Connect) the process fails.
Could not build Objective-C module 'Alamofire'
I have included Alamofire as a git submodule in my app. I have already submitted various betas to iTunes Connect and never encountered this problem before.
I did not change any build settings though. Any other idea what could be wrong ? The problem seems related to this issue in github but no solution was provided.
Thanks in advance for any help.