当前位置:
首页
文章
移动端
详情

关于 Telegram 打 AppStore ipa 描述文件报错

接到上头命令,让我打包一个 Telegram 的 App Store ipa 包时,在我将 developer 描述文件替换成 App Store 描述文件却打包报错:

ERROR: /Users/xxx/Desktop/Telegram/Telegram-iOS/Telegram/BUILD:1578:14: no such target '@build_configuration//provisioning:Intents.mobileprovision': target 'Intents.mobileprovision' not declared in package 'provisioning' defined by /private/var/tmp/_bazel_tt/33b801b4dd16469bbea27d0e1fd3000e/external/build_configuration/provisioning/BUILD and referenced by '//Telegram:IntentsExtension'
ERROR: Analysis of target '//Telegram:Telegram' failed; build aborted:

但明明 Intents.mobileprovision 文件是我刚从 Apple Developer 下载下来的,即使重新替换掉该描述文件,其他描述文件又会随机一个出来报错,循环往复;

解决方案:
用正在打包的这台 mac 机器,去 Apple Developer 生成对应的 Distribution 发布证书,然后用该 Distribution 证书 重新生成所有对应的描述文件 下载下来替换打包。

免责申明:本站发布的内容(图片、视频和文字)以转载和分享为主,文章观点不代表本站立场,如涉及侵权请联系站长邮箱:xbc-online@qq.com进行反馈,一经查实,将立刻删除涉嫌侵权内容。