Testflight SDK missing reports

我们两清 提交于 2019-12-23 17:07:07

问题


I've installed Testflight SDK for my iOS application. Followed the manual in every step. The problem is - I don't get any reports from application. No session reports, errors, feedbacks - nothing. I've checked Team Token - everything matches.

This is my code:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{   

    //bla bla bla some initialization code

    [TestFlight takeOff:@"my team token"];
    [TestFlight setDeviceIdentifier:[[UIDevice currentDevice] uniqueIdentifier]];

    TFLog(@"Test message");

    return YES;
}

What do I miss?


回答1:


Your log should print out a "Started session" or "Team token recognized" message. If so and it still doesn't work then it's probably a problem on TestFlight's side. I contacted them about a similar issue and they responded promptly with the fact that they are trying to flush all the bugs out of their system and this will result in some instability for a little while. I sometimes get messages and sometimes not. Hopefully they'll get it fixed soon. I don't think the uniqueIdentifier thing has much to do with it, but I guess it doesn't hurt to remove it.




回答2:


I don't know if this will resolve your problem, or if you might already have resolved it yourself. The documentation states you must call setDeviceIdentifier before takeOff. In case this is crucial to the API, then it will never know who started the app since the identifier is unknown.




回答3:


Try removing the device identifier setting.



来源:https://stackoverflow.com/questions/10874100/testflight-sdk-missing-reports

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!