How to remove iPhone 5 compatibility from Xcode project?
Asked Answered
B

3

6

Accidentally I allowed Xcode to add the iPhone 5 launch image for a massive app project where I don't want to adapt to iPhone 5 just yet.

I deleted the launch image but the simulator keeps launching it in enlarged iPhone 5 mode. I couldn't find a key in infoplist either. How can I completely remove iPhone 5 support?

Bugeye answered 26/12, 2012 at 13:51 Comment(2)
Does the application have black bars on the top and bottom when you are using the iPhone 5 simulator?Lilias
No, the application is shifted all the way up and there is a giant gap at the bottom. It is in iPhone 5 support mode even though I deleted the iPhone 5 launch image.Bugeye
H
6

The following worked for me.

  • Remove the file from Xcode.
  • Delete the file from your Finder folder.
  • Empty the trash.
  • Clean your Xcode project.
  • Delete App from device and simulator.
Headreach answered 25/1, 2013 at 23:11 Comment(1)
I was struggling for past two hours.. your solution workd.. thanks...:)Lox
C
0

I think if you delete [email protected] from your project then it will remove the iPhone 5 full screen features.

Cottbus answered 26/12, 2012 at 13:54 Comment(1)
No it will not, as stated in my question.Bugeye
S
-1

Remove armv7s in Build Setting Architecture and remove the Retina 4Inch Image in Summary of your Target Clean Build. Then Your Application will start support for 3.5 Inch screen only

Seaborne answered 26/12, 2012 at 13:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.