Xcode 9 - iOS 8图像奇怪扭曲 [英] Xcode 9 - iOS 8 images get weirdly distorted

查看:170
本文介绍了Xcode 9 - iOS 8图像奇怪扭曲的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编辑:请注意,此问题现已在 Xcode 9.3 中解决,小时!

EDIT : note that this issue is now resolved in Xcode 9.3, hourrah !

好的,这是一个Xcode错误,但有没有人有解决方法?

因为我将更新更新为 Xcode 9 并编译我的应用程序,我的图像有错误。我的应用中的所有图片都被扭曲,仅在 iOS 8 上。我必须指出,当用 Xcode 8 重新编译完全相同的项目时,每张图片都显示

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 !

当我的应用程序在 iOS 8 上运行,然后在 iOS 9 上运行时,这是我的启动屏幕(或10或11),都带有 Xcode 9

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.

我知道有些人遇到这个错误 Xcode 8 beta 6 Xcode 8模拟器ios 8图像失真 Xcode 8 beta 6 - 应用程序图像在iOS 8中被破坏)但是他们说这是一个在 Xcode 8 GM 中解决的Xcode错误。我在 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 为图片资产带来了很多变化,所以我试着玩它们(勾选Preserve矢量数据,改为个人尺度等),但没有帮助。

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.

我正在使用 Xcode 9.2(9C40b),我认为这是最新的Xcode版本。

I'm using Xcode 9.2 (9C40b), which I think is the last Xcode version available.

有没有人知道这个?

推荐答案

可参考Xcode 9发行说明 https://developer.apple.com/library/content/ releasenotes / DeveloperTools / RN-Xcode / Chapters / Introduction.html#// apple_ref / doc / uid / TP40001051-CH1-SW936

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

两个解决方法:

或者使用Xcode 9.2并将部署目标设置为iOS 8.4或更高版本。

OR use Xcode 9.2 and set the deployment target to iOS 8.4 or later.

它适用于我。
建议使用第一个,因为第二个只允许iOS 8.4支持。

It works for me. The first one is recommended as the second will only allow iOS 8.4 support.

这篇关于Xcode 9 - iOS 8图像奇怪扭曲的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆