None of the posted solutions worked for me. The trick that worked for me was to Go to -> Your Scheme(Exact left option to the simulator) -> Edit Scheme -> Build -> Override Architectures -> Select "Use Target Settings".