update project setting to compile and run in ios7