1

我正在尝试使用 fastlane 将我的 react 本机应用程序发布到应用商店自动化。使用 xcode 手动归档应用程序是成功的。但是,当我使用 Fastlane 时,构建应用程序步骤失败,退出状态为 65。

错误:无法加载文件列表的内容:'/Target Support Files/RealmJS/RealmJS-xcframeworks-input-files.xcfilelist'(在项目'Pods'的目标'RealmJS'中)

错误:无法加载文件列表的内容:'/Target Support Files/RealmJS/RealmJS-xcframeworks-output-files.xcfilelist'(在项目'Pods'的目标'RealmJS'中)

我尝试删除我的 Pods 文件夹 Podfile.lock 并重新安装 pod。但是,realmJS 的问题仍然存在。

XCode 版本:版本 13.0 (13A233)

反应原生: 0.65.1

领域-js: 10.8.0

快车道: 2.197.0

快车道错误

有人遇到过类似的问题吗?

4

1 回答 1

0

终于让它工作了。原来我在 Fastfile 中为 build_app 步骤指定了错误的配置。创建不同的方案后,我已将配置从“发布”重命名为“发布暂存”。

所以从:

build_app(
      configuration: "Release",
      export_method: "app-store",
...
)

至:

build_app(
      configuration: "Release Staging",
      export_method: "app-store",
...
)
于 2021-10-30T13:55:18.963 回答