无效的 Apple Watch 图标文件名必须匹配模式“*<dimension>@<scale>x.png"; [英] Invalid Apple Watch icon file names must match pattern &quot;*&lt;dimension&gt;@&lt;scale&gt;x.png&quot;

查看:19
本文介绍了无效的 Apple Watch 图标文件名必须匹配模式“*<dimension>@<scale>x.png";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试向我的应用程序提交更新以包含 Apple Watch 功能,但是每当我验证构建时,我都会收到以下屏幕截图中详细说明的错误.查看底部错误,我的文件名似乎与模式匹配,所以我看不出问题是什么.如果我可以为 1 个图标找到正确的模式,那么我可以全面应用相同的逻辑,但是我运气不佳.

I'm trying to submit an update to my App to include Apple Watch capabilities, however whenever I validate the build I get the errors detailed in the screenshot below. Looking at the bottom error my file name seems to be matching the pattern so I don't see what the issue is. If I can get the pattern right for 1 icon then I can apply the same logic across the board, however I'm not having much luck with it.

有其他人遇到过这个问题吗?

Has anyone else had this issue?

推荐答案

我在尝试提交时遇到了同样的问题.我的问题是我正在与 iOS 应用程序目标和 WatchKit 应用程序目标共享我的图像资产文件.您需要为 WatchKit 应用程序创建一个单独的图像资产文件,并且其中应该只包含 Apple Watch 的图像.那为我修好了.

I got the same issue when I tried to submit. My problem was that I was sharing my image asset file with both my iOS app target and my WatchKit app target. You need to have a separate image asset file for your WatchKit app and it should ONLY have images for the Apple Watch in it. That fixed it for me.

这篇关于无效的 Apple Watch 图标文件名必须匹配模式“*<dimension>@<scale>x.png";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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