简体   繁体   中英

Get crashlytics log for submodule project in iOS

I've an Xcode project (say with bundle id: com.project1.abc) which also includes another Xcode project (say with bundle id: com.project2.abc). Now I have integrated crashlytics for my main project and have created the same one in crashlytics with bundle id com.project1.abc and it works fine and I get all the logs in my main project. Now I need to log some data in the sub project the one with bundle id: com.project2.abc. How do I go about it? Will I need to create a new project section in crashlytics with new bundle id:com.project2.abc? Or is there any other way that logs in submodule can be also mapped to the main project in crashlytics?

Right now I just add the crashlytic code on the main project Appdelegate file as the Appdelegate file in the subproject doesn't get called.

[Fabric with:@[[Crashlytics class]]];

I'm using Xcode 8.3 Beta, Swift 3.2.

如果您对com.project2.abc遵循相同的入门步骤(在您的示例中),它将作为新应用程序出现在Fabric仪表盘中,并且您应该已经全部设置好: https : //fabric.io/kits/ios/crashlytics/手动安装

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM