我有 NewRelic 免费/起始层,应该可以用于崩溃报告。我已经通过 CocoaPods 安装了 NewRelic 代理:
pod 'NewRelicAgent'
我使用我的应用 ID 初始化 NewRelic 代理的应用启动:
[NewRelicAgent startWithApplicationToken:@"AA29fa....."];
构建过程中有一个运行脚本阶段(最后一步):
SCRIPT=`/usr/bin/find "${SRCROOT}" -name newrelic_postbuild.sh | head -n 1`
/bin/sh "${SCRIPT}" "AA29fa......."
播客文件:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
link_with 'SimpleInvoice', 'SimpleInvoiceTests'
pod 'BNHtmlPdfKit', :git => 'https://github.com/brentnycum/BNHtmlPdfKit'
pod 'DocuSign-iOS-SDK', :git => 'https://github.com/docusign/docusign-ios-sdk', :branch => 'feature_remote_signing'
pod 'VENCalculatorInputView'
pod 'NewRelicAgent'
我在调试器中使应用程序崩溃,并在 TestFlight 上发布了一个 Ad-Hoc 构建并在设备上崩溃,我的 NewRelic 显示我没有任何崩溃报告。
我错过了什么?