Xcode 8 beta 6 - App image broken in iOS 8

删除回忆录丶 提交于 2019-12-12 13:16:51

问题


I have Installed Xcode 8 beta 6 and deployed the app into iOS 8 - 10 device to test.

I found some app images are broken in iOS 8 device (Please refer to the image shown below)

It works perfectly fine in iOS 9 and iOS 10

Is it a bug from Apple? Anyone having the same problem? Many thanks.

Possible duplicate to : Xcode 8 simulator ios 8 image get distorted

Update: Xcode 8 GM build fixed this problem


回答1:


I'm having the same issues too. I found that the same image on iPhone 4s was distorted but not on iPhone 6s. So I then tested it by disabling the 1x and 2x asset for the same image. It then started working on iPhone 4s. I hope Apple fixes this issue in the gold master.




回答2:


Same here! There is a pending bug report in the other ticket, hopefully Apple will react and fix this in the next Beta iteration.




回答3:


This issue is back in Xcode 9.2

https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-SW936

"Workaround: Build the app using Xcode 9.1, or use Xcode 9.2 and set the deployment target to iOS 8.4 or later."

Another more involved workaround is to delete the image from Images.xcassets and add the image(s) back in directly to the bundle.



来源:https://stackoverflow.com/questions/39094618/xcode-8-beta-6-app-image-broken-in-ios-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!