changed build settings
-build active architecture only
-- debug:No
-- release:Yes
… so that in the debug environment it builds for both simulator and device