pod 'Bugly'
import Bugly
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
Bugly.start(withAppId: "Your Bugly App ID")
return true
}
符号表上传工具:
https://bugly.tds.qq.com/docs/tutorial/symbol/tool/
Error: Cannot tap homebrew/cask-versions: invalid syntax in tap!
brew update
执行brew install --cask adoptopenjdk,时间会有点久......
把DSYM文件和buglyqq-upload-symbol.jar放在同一文件夹下
image.png
cd到该文件夹,执行:
java -jar buglyqq-upload-symbol.jar -appid 95609a53ac -appkey 955c67ad-f6d5-4929-8d29-cf27e10d51a8 -bundleid com.testph.first -version 1.0.0 -platform IOS -inputSymbol /Users/cicada/Desktop/XXXX/DSYM/XX.app.dSYM
执行完后,文件夹里面变成:
image.png
去Bugly平台查看,会显示已上传
网友评论