This should fix the problem:
1.Delete the "Pods" project from the workspace in the left pane of Xcode and close Xcode.
2.Run "pod install" from the command line to recreate the "Pods" project.
3.Re-open Xcode and make sure "Build Active Architecture Only" is set to "No" in the build settings of both the "Pods" project and your own project.
4.Clean and build.
More on this topic: https://stackoverflow.com/a/22336208/1041311