My iOS application's picture is strange and broken? [duplicate] - ios

EDIT : note that this issue is now resolved in Xcode 9.3, hourrah !
OK, it's a Xcode bug, but does anyone has a workaround for this ?
Since I made the update to Xcode 9 and compile my app, I get a bug with my images. All images in my app get distorted, only on iOS 8. I have to point out that when recompiling the exact same project with Xcode 8, every image shows well !
Here is my launch screen when my app is run on iOS 8, then on iOS 9 (or 10 or 11), both with Xcode 9.
I know that some people encounter this bug with Xcode 8 beta 6 (Xcode 8 simulator ios 8 image get distorted and Xcode 8 beta 6 - App image broken in iOS 8) but they say this was a Xcode bug that was resolved in Xcode 8 GM. I can't find anybody having this issue in Xcode 9.
Xcode 9 brings many changes to images assets, so I've tried to play with them (ticking "Preserve Vector Data", changing to "Individual scales" etc) but it didn't helped.
I'm using Xcode 9.2 (9C40b), which I think is the last Xcode version available.
Does anybody has a clue for this ?

Can refer on Xcode 9 Release Notes https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-SW936
Two workarounds :
Build the app using Xcode 9.1 (official download link)
OR use Xcode 9.2 and set the deployment target to iOS 8.4 or later.
It works for me.
The first one is recommended as the second will only allow iOS 8.4 support.

I found move the image from assets to bundle can fix this bug

Related

Issue with UIImage on older iOS versions [duplicate]

EDIT : note that this issue is now resolved in Xcode 9.3, hourrah !
OK, it's a Xcode bug, but does anyone has a workaround for this ?
Since I made the update to Xcode 9 and compile my app, I get a bug with my images. All images in my app get distorted, only on iOS 8. I have to point out that when recompiling the exact same project with Xcode 8, every image shows well !
Here is my launch screen when my app is run on iOS 8, then on iOS 9 (or 10 or 11), both with Xcode 9.
I know that some people encounter this bug with Xcode 8 beta 6 (Xcode 8 simulator ios 8 image get distorted and Xcode 8 beta 6 - App image broken in iOS 8) but they say this was a Xcode bug that was resolved in Xcode 8 GM. I can't find anybody having this issue in Xcode 9.
Xcode 9 brings many changes to images assets, so I've tried to play with them (ticking "Preserve Vector Data", changing to "Individual scales" etc) but it didn't helped.
I'm using Xcode 9.2 (9C40b), which I think is the last Xcode version available.
Does anybody has a clue for this ?
Can refer on Xcode 9 Release Notes https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-SW936
Two workarounds :
Build the app using Xcode 9.1 (official download link)
OR use Xcode 9.2 and set the deployment target to iOS 8.4 or later.
It works for me.
The first one is recommended as the second will only allow iOS 8.4 support.
I found move the image from assets to bundle can fix this bug

AppIcon overlay is not working in Xcode 9.2

Recently I was searching something great for my app, and I found that I can add an overlay to AppIcon for different Configuration of the project. But it is not working in Xcode 9.2 with iOS 11.2.2.
Here is what Tested.
Using Amaro I can get an overlay of version and build with the configuration in Xcode 8.3.2 with simulator iPhone 6s.
But not getting in my iPhone 6 (iOS 11.2.2 with Xcode 9.2)
I've also visited here and here but not getting anything which is compatible with Xcode 9.2
Please help me to find solutions for this issue.

Xcode 9 - iOS 8 images get weirdly distorted

EDIT : note that this issue is now resolved in Xcode 9.3, hourrah !
OK, it's a Xcode bug, but does anyone has a workaround for this ?
Since I made the update to Xcode 9 and compile my app, I get a bug with my images. All images in my app get distorted, only on iOS 8. I have to point out that when recompiling the exact same project with Xcode 8, every image shows well !
Here is my launch screen when my app is run on iOS 8, then on iOS 9 (or 10 or 11), both with Xcode 9.
I know that some people encounter this bug with Xcode 8 beta 6 (Xcode 8 simulator ios 8 image get distorted and Xcode 8 beta 6 - App image broken in iOS 8) but they say this was a Xcode bug that was resolved in Xcode 8 GM. I can't find anybody having this issue in Xcode 9.
Xcode 9 brings many changes to images assets, so I've tried to play with them (ticking "Preserve Vector Data", changing to "Individual scales" etc) but it didn't helped.
I'm using Xcode 9.2 (9C40b), which I think is the last Xcode version available.
Does anybody has a clue for this ?
Can refer on Xcode 9 Release Notes https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-SW936
Two workarounds :
Build the app using Xcode 9.1 (official download link)
OR use Xcode 9.2 and set the deployment target to iOS 8.4 or later.
It works for me.
The first one is recommended as the second will only allow iOS 8.4 support.
I found move the image from assets to bundle can fix this bug

iOS 6 and 7 simulators in Xcode 7

How to have old simulators in new Xcode?
I have 2 SDKs (6.1 and 7.1) in my old Xcode 5.1.1 following path:
Xcode.app -> right click and <Show package contents> ->
Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
Copied both SDKs to my new Xcode, but Xcode only shows 8.4 and 9.0.
Is there any suggestion? Or maybe I can download it from somewhere (I believe there isn't)?
In Xcode if you click Window->Devices, then on the bottom left click the '+' button, then Add Simulator. There should be an option for selecting older versions of iOS Simulators.
If there isn't an option for iOS 6.1 or 7.1, after you click the '+' button, click the drop-down list for iOS Version and click download more simulators. Then just pick which ones you want.
You can't use simulator for iOS7 and earlier for XCode 7.1 - it's not compatible. Looks like Apple won't support them ever. It means you can't do this on simulator (you still can do this on real devices) at least in official way. You may not know that, but it also depends on your OSX:
El Capitan supports iOS 8.1.
Yosemite supports iOS 7.1
I haven't found any way to use any iOS 7 simulators. However, an iPhone 4 running iOS7 connected to Xcode 7.3, on MacOS X 10.11.4 using the iOS 9 SDK runs just fine.
To support iOS 7 on all devices capable of running it, you will need LaunchImages for iPhone 4 and 5 (retina), and for iPad in portrait and landscape at 1x and 2x.
I would consider supporting iOS 6 at this point to be pointless. That's iPhone 3GS. iOS 7 is pushing it; I run my code on an iPhone 4 mostly to check that its fast enough.

Binary is not optimized error for iPhone 5 - in Xcode6 with LaunchScreen.xib

I have an Xcode 6 project that I can't upload, because I'm getting the
Your binary is not optimized for iPhone 5 error New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image..
It's inconceivable why this happens, because I have a proper LaunchScreen.xib which should solve the launch image problem. The project is a native Xcode 6 project, I didn't migrated anything from Xcode 5, therefore I have no idea what could be the problem. Do anybody had the same problem? I checked the other related questions, but that issues happened with Xcode 5 projects.
If your Deployment Target is set to iOS 7.1 or earlier then you still need the old style launch images. The launch screen file is only for iOS 8.

Resources