使用fastlane获取测试版时出现错误

时间:2019-09-24 11:40:38

标签: react-native-ios fastlane

当我在React本机项目build_app中使用fastlane发布beta时,我遇到了这个问题。

platform :ios do
  desc "Push a new beta build to TestFlight"
  lane :beta do
    increment_build_number(xcodeproj: "TestApp.xcodeproj")
    build_app(
      workspace: "TestApp.xcworkspace",
       scheme: "TestApp",
       include_bitcode: true)
  end
end

[14:13:21]: Error packaging up the application

------+------------------------+-------------+
|              fastlane summary               |
+------+------------------------+-------------+
| Step | Action                 | Time (in s) |
+------+------------------------+-------------+
| 1    | default_platform       | 0           |
| 2    | increment_build_number | 1           |
| ?   | build_app              | 366         |
+------+------------------------+-------------+

[14:13:21]: fastlane finished with errors

[!] Error packaging up the application

有人可以帮我这个忙吗?

1 个答案:

答案 0 :(得分:0)

就我而言,我首先在钥匙串中添加了一个新的发行证书。我删除了发行证书,它起作用了。可能不是解决方案,但可以检查