【问题标题】:Application identifier of the parent app is not a prefix of the application identifier of the app clip父应用的应用标识符不是应用剪辑应用标识符的前缀
【发布时间】:2021-09-23 15:58:45
【问题描述】:

我有一个基于 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

我该如何解决这个问题?

【问题讨论】:

  • 更改应用剪辑的捆绑标识符以使用其父应用的捆绑标识符作为前缀?
  • @shim 我不知道 G9ZB929PTN.org.reactjs.native.example.VeNo 是从哪里来的......以及改变在哪里。
  • 我建议您使用这些详细信息更新您的问题

标签: ios xcode react-native apple-appclips


【解决方案1】:

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

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

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

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

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

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

【讨论】:

  • 普通应用标识符为com.theobouwman.VeNo,应用剪辑标识符为com.theobouwman.VeNo.VeNoClip...
  • 检查您的 Info.plist 文件,那里的“Bundle identifier”是什么?你会希望它说$(PRODUCT_BUNDLE_IDENTIFIER)
猜你喜欢
  • 1970-01-01
  • 2012-07-28
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-01-22
  • 2014-07-25
  • 1970-01-01
相关资源
最近更新 更多