1

我正在尝试通过提供 API 和机密使用 fastlane crashlytics 操作将新的 iOS 应用程序上传到 Fabric。当我运行 fastlane 命令时,它会成功构建、归档应用程序,当它开始上传到 Crashlytics Beta (fabric) 时,它会失败并显示以下消息:

INFO [2018-06-12 11:06:52.74]: --- Step: crashlytics ---
INFO [2018-06-12 11:06:52.74]: -------------------------
INFO [2018-06-12 11:06:52.74]: Uploading the build to Crashlytics Beta. Time     
for some ☕️.
DEBUG [2018-06-12 11:06:52.74]: ./Pods/Crashlytics/submit [[API_TOKEN]]         
[[BUILD_SECRET]] -ipaPath './archives/Newton.Beta-1.0.0-1337.ipa' -groupAliases 
'mobile-team,ios-test-devices' -notifications YES -debug YES
ERROR [2018-06-12 11:06:57.99]: Shell command exited with exit status 1 instead 
of 0.
WARN [2018-06-12 11:06:58.00]: Lane Context:
INFO [2018-06-12 11:06:58.00]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>nil, 
:LANE_NAME=>"beta", :GIT_REPO_WAS_CLEAN_ON_START=>true, 
:VERSION_NUMBER=>"1.0.0", :BUILD_NUMBER=>"1337", 
:IPA_OUTPUT_PATH=>"/Users/sanjaneya/Documents/newton-ios/archives/Newton.Beta- 
1.0.0-1337.ipa", 
:XCODEBUILD_ARCHIVE=>"/Users/sanjaneya/Library/Developer/Xcode/Archives/2018- 
06-12/Newton.Beta-1.0.0-1337 2018-06-12 10.57.07.xcarchive"}
ERROR [2018-06-12 11:06:58.00]: 2018-06-12 11:06:53.605 submit Crashlytics: 
Crashlytics.framework/submit 1.3.5 (18)
2018-06-12 11:06:53.613 submit Crashlytics: Path to IPA manually provided: 
./archives/Newton.Beta-1.0.0-1337.ipa
2018-06-12 11:06:54.154 submit Crashlytics: Path To App: 
/var/folders/nc/x2sh_3t17692n9jf3pybxt2n8c1sfm/T/Newton.Beta-1.0.0- 
1337/Payload/Newton.app
2018-06-12 11:06:57.943 submit Crashlytics: Unable to add testers: Project beta 
is inactive
2018-06-12 11:06:57.943 submit Crashlytics: Failed to add testers/groups to the 
release

我确实尝试遵循其他堆栈溢出文章的建议,但无法找出解决方案:

  1. 将结构运行命令添加到构建阶段作为 Xcode 中的运行脚本
  2. 清理,构建应用程序并在模拟器中成功运行应用程序。

即使经过上述两个步骤,我也没有在 Fabric Dashboard 中看到该应用程序。请帮忙!

4

0 回答 0