4

基于 CI(仅在最近几天才开始发生,也许是在更新 Crashlytics pod 时...Crashlytics (3.10.3)),我现在在将 .ipa 文件提交给 Crashlytics 时遇到分段错误:

2018-06-28 20:11:39.789 submit Crashlytics: Crashlytics.framework/submit 1.3.5 (18)
carchive.sh: line 289: 10426 Segmentation fault

此时的 carchive.sh 步骤在哪里:

"${PODS_ROOT}"/Crashlytics/submit $GS_FABRIC_API_KEY $GS_FABRIC_BUILD_SECRET -ipaPath "$OUTPUT_IPA_NAME" -groupAliases "$GS_GROUP_TESTER_ID" -notesPath "$release_notes_file"
4

1 回答 1

0

根据链接的问题,这仍然是 Crashlytics 3.10.4 的问题。目前最快的解决方法是降级到 3.10.2(pod 'Crashlytics', '3.10.2'然后在您的 Podfile 中pod update Crashlytics

作为参考,我得到的错误非常模糊,即使有--verbose标志:

ERROR [2018-07-10 23:29:22.01]: fastlane finished with errors/Library/Ruby/Gems/2.3.0/gems/fastlane-2.99.0/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in `user_error!': [!] 2018-07-10 23:29:14.457 submit Crashlytics: Crashlytics.framework/submit 1.3.5 (18) (FastlaneCore::Interface::FastlaneError)
2018-07-10 23:29:14.465 submit Crashlytics: Path to IPA manually provided: ./output/<redacted>/myApp.ipa
2018-07-10 23:29:15.658 submit Crashlytics: Path To App: /var/folders/<redacted>/myApp.app

编辑:从 3.10.5 开始再次工作(确保您的 crashlytics 和结构框架是最新的)

于 2018-07-11T05:36:53.407 回答