Issue with UIImage on older iOS versions [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

Xcode 11 - no iOS 13.1.2 simulator (just 13.0)

I have installed Xcode 11, needing the ios 13 simulator, but as I see I have available ios 13.0, not 13.1.2 (as installed on physical iphones). The issue is that my app has a lot of strange UI behavior (strange offset for views placed unde the navigation bar, round images with shadows not working correctly etc).
Is there a way to use the ios 13.1.2 simulator in Xcode for now?
Xcode 11.2 includes the iOS 13.2 simulator runtime.
iOS 13.0 and 13.1 simulators will not be offered for download so you should not expect to see them in the downloadable simulators list even in Xcode 11.2.
There are many important bug fixes in both Xcode 11.2 and iOS 13.2. I recommend all developers and all users upgrade as soon as possible.
Check below link of release note by apple might come new simulator ios 13.1 on word
there is beta version but you can test or debug
https://developer.apple.com/documentation/xcode_release_notes/xcode_11_3_beta_release_notes/
https://developer.apple.com/download/

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.

My iOS application's picture is strange and broken? [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

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.

Resources