每次提交应用到App Store都会收到苹果的提示邮件:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
App Store Connect

Dear Developer,

We identified one or more issues with a recent delivery for your app, "***" 1.0 (3). Your delivery was successful, but you may wish to correct the following issues in your next delivery:

ITMS-90747: Architecture incompatible with MinimumOSVersion. The app bundle at 'LightFasting.app/PlugIns/LightFastingGuli.appex' specifies a MinimumOSVersion of '14.1' but contains a 32-bit architecture that is unsupported on iOS 12 and later.

ITMS-90626: Invalid Siri Support - Localized description for custom intent: 'Configuration' not found for locale: en

ITMS-90626: Invalid Siri Support - Localized title for custom intent: 'Configuration' not found for locale: zh-hant

ITMS-90626: Invalid Siri Support - Localized title for custom intent: 'Configuration' not found for locale: zh-hans

ITMS-90626: Invalid Siri Support - Localized title for custom intent: 'Configuration' not found for locale: zh-hk

After you’ve corrected the issues, you can upload a new binary to App Store Connect.

Best regards,

The App Store Team

真的太烦了,我想我也没用到Sirikit啊。。。最后经过排查,找到是因为添加桌面小组件的缘故。我们需要对桌面小组件的配置文件进行修改。

编辑配置文件

在你的Widget对应的文件夹中有一个intentdefinition类型的文件,首先我们打开这个文件的本地化,选中所有的语言

本地

取消勾选这两项

Siri相关项目

如果仍未解决

可以尝试取消勾选所有本地化文本,然后再重新勾选,会提示文件已存在,选择Replace覆盖掉。

然后在文件列表将所有的文本都翻译一下。

每一个文件都点一下

将内容翻译好。

翻译

apple似乎会检测是否配置语言与内容是否是一种语言。如果不同语言,仍会报错。