Framework contain unsupported architecture

I try to upload my app to App Store and I get this error


1. ERROR ITMS-900087: "Unsupported Architecture. The executables for xxxxxx.app/Frameworks/Alamofire.framework contains unsupported architectures '[x86_64, i386]'"


2. ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at xxxxx.app/Frameworks/Alamofire.framework/Alamofire does not have proper segment alignment. Try rebuilding the app with the latest Xcode version"



Thank You.

Replies

Which store?


Mac or iOS?

Does this help you:
http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/