Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set up Xcode 9 for iphone 4 and iphone 4s development?

Tags:

ios

ios7

xcode9

At a loss here. I have to test an app on iphone 4 devices as well as newer ones. Can anyone advise me as to how to set Xcode 9 up to support ios 7 as a deployment target as well as up to the newer versions of ios? So that I can use iphone 4 simulator and later test on the iphone 4 device?

like image 973
cheznead Avatar asked Mar 09 '23 08:03

cheznead


1 Answers

Can anyone advise me as to how to set Xcode 9 up to support ios 7 as a deployment target as well as up to the newer versions of ios?

The advice is simple: You can't. (Okay, maybe you can, with some sort of elaborate hacking; but don't.)

There's no problem running multiple versions of Xcode, so use an earlier version of Xcode to test on iOS 7. This will be tricky, because your project may not be easily backward compatible from Xcode 9 to an earlier version of Xcode, but it's your best hope. (Either that, or do what Apple really wants you to do: abandon backward compatibility beyond iOS 8.)

like image 60
matt Avatar answered Mar 10 '23 21:03

matt