You just have to change the following settings:
Build Settings > Architectures > Architectures to:
"$(ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 armv7s)"
Build Settings > Architectures > Valid Architectures to:
armv7 armv7s
Build Settings > Architectures > Build Active Architectures Only to:
No
Now your problem will be solved.