Crashlytics(3.10.3,CocoaPods)提交分段错误:11
Crashlytics (3.10.3, CocoaPods) submit segmentation fault: 11
基于 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"
根据链接的问题,从 Crashlytics 3.10.4 开始,这仍然是一个问题。目前最快的解决方法是降级到 3.10.2(在您的 Podfile 中 pod 'Crashlytics', '3.10.2'
然后 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 和 fabric 框架是最新的)
基于 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"
根据链接的问题,从 Crashlytics 3.10.4 开始,这仍然是一个问题。目前最快的解决方法是降级到 3.10.2(在您的 Podfile 中 pod 'Crashlytics', '3.10.2'
然后 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 和 fabric 框架是最新的)