You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Delphi+PAServer导出带Notification Service Extension的iOS应用:exportOptions.plist缺失配置项

Delphi FMX + PAServer 部署带Notification Service Extension的iOS应用导出失败问题

构建过程成功,但导出步骤失败,报错信息如下:

error: exportArchive "NotificationService.appex" requires a provisioning profile.

上下文

应用结构:

MyApp.app/
  PlugIns/
    NotificationService.appex/

Bundle标识符:

  • 主应用:com.example.myapp
  • 扩展:com.example.myapp.notificationservice

主应用与扩展的App Store描述文件均已存在且有效。

问题原因

PAServer生成的exportOptions.plist内容缺少扩展的配置项:

<key>provisioningProfiles</key>
<dict>
  <key>com.example.myapp</key>
  <string>com.example.myapp</string>
</dict>

正确的配置应包含扩展的条目:

<key>provisioningProfiles</key>
<dict>
  <key>com.example.myapp</key>
  <string>com.example.myapp</string>
  <key>com.example.myapp.notificationservice</key>
  <string>com.example.myapp.notificationservice</string>
</dict>

正是因为缺少该配置,导致xcodebuild -exportArchive执行失败。

咨询问题

  1. 是否有办法让Delphi/PAServer自动将应用扩展的配置加入exportOptions.plist中?
  2. 或者使用.appex扩展时,只能通过xcodebuild手动导出?

内容的提问来源于stack exchange,提问作者zeus

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.01 18:52:26