0

我有一个基于 React Native 配置的 App Clip。

但是当我通过 Xcode 启动 App Clip 时,这是错误消息:

Details

Unable To Install “VeNo”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: Application identifier of the parent app, "G9ZB929PTN.org.reactjs.native.example.VeNo", is not a prefix of the application identifier of the app clip, "G9ZB929PTN.com.theobouwman.VeNoClip"
--
Application identifier of the parent app, "G9ZB929PTN.org.reactjs.native.example.VeNo", is not a prefix of the application identifier of the app clip, "G9ZB929PTN.com.theobouwman.VeNoClip"
Domain: MIInstallerErrorDomain
Code: 150
User Info: {
    FunctionName = "-[MIInstallableBundle _performAppClipSpecificValidationForEntitlements:isAppClip:withError:]";
    LegacyErrorString = AppClipBundleIDNotPrefixed;
    SourceFileLine = 1180;
}
--


System Information

macOS Version 11.6 (Build 20G165)
Xcode 12.5.1 (18212) (Build 12E507)
Timestamp: 2021-09-23T17:56:48+02:00

我该如何解决?

4

1 回答 1

0

父应用的应用标识符“G9ZB929PTN.org.reactjs.native.example.VeNo”不是应用剪辑应用标识符“G9ZB929PTN.com.theobouwman.VeNoClip”的前缀

父应用的标识符应该是应用剪辑的前缀。

例如,应用剪辑的标识符可以设置为:

G9ZB929PTN.org.reactjs.native.example.VeNo.VeNoClip

可以在 Xcode 中的“General”选项卡的“Bundle Identifier”字段的项目设置中为每个目标设置标识符。

假设您实际上应该更改父应用程序的标识符,因为该标识符看起来像是您从教程中获得的。

于 2021-09-23T16:17:08.157 回答