【发布时间】:2020-04-01 09:30:13
【问题描述】:
我正在尝试集成 Crashlytics,我之前也集成过。在我为测试它而创建的示例项目中,它工作正常。但在我的实际项目中,它停留在第 3 步“我们将监听您的应用程序与我们的服务器进行通信。”
我已完成所有步骤,包括运行脚本
"${PODS_ROOT}/Fabric/run"
还尝试使用 DSYM 文件将调试信息格式更改为 DWARF。但没有任何工作。如果我集成到示例应用程序中,这一切都有效。
下面是我在项目中使用的 pod 文件列表。
谁能帮我解决这个问题。我从 2 天开始就被困在这里。
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'MyProject' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'TPKeyboardAvoidingSwift'
pod 'GoogleMaps'
pod 'GooglePlaces'
pod 'XLPagerTabStrip', '~> 9.0.0'
pod 'STPopup'
pod 'Alamofire'
pod 'STRatingControl'
pod 'Hero'
pod 'SDWebImage', '~> 5.0'
pod 'RxSwift', '~> 4.0'
pod 'RxCocoa', '~> 4.0'
pod 'RealmSwift'
pod 'SDWebImage', '~> 5.0'
pod 'MaterialComponents/Snackbar'
pod 'GIFProgressHUD'
pod 'MBProgressHUD', '~> 1.2.0'
pod 'GPUImage'
pod 'Firebase/Messaging'
pod 'Firebase/Analytics'
pod 'Fabric'
pod 'Crashlytics'
target 'MyProjectTests' do
inherit! :search_paths
# Pods for testing
end
target 'MyProjectUITests' do
inherit! :search_paths
# Pods for testing
end
end
【问题讨论】:
-
你为什么使用 Crashitycs?将于 2020 年 5 月 4 日关闭
-
没有 Fabric 会关闭,谷歌文档中提到我们需要使用它,因为 Fabric 将被 firebase crashlytics 取代。 firebase.google.com/docs/crashlytics/…
标签: ios swift firebase crashlytics