应用程序在iOS 6.1.2中的[TestFlight takeOff:@""]崩溃

sri*_*vas 3 iphone ios testflight

我将TestFlight SDK集成到我的iOS应用程序中.在iOS 6.1.2中,有时应用程序会在TestFlight的-takeOff:方法中首次启动应用程序崩溃.

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

#ifdef TESTING
    [TestFlight takeOff:@"MY_TESTFLIGHT_TEAM_TOKEN"];
    [TestFlight setDeviceIdentifier:[[UIDevice currentDevice] uniqueIdentifier]];
#endif

// Override point for customization after application launch.
ProductListViewController *products=[[ProductListViewController alloc] initWithNibName:@"ProductListViewController" bundle:nil];
UINavigationController *navigationController=[[UINavigationController alloc] initWithRootViewController:products];
[products release];

navigationController.toolbarHidden = YES;
navigationController.navigationBarHidden = YES;

self.rootViewController = navigationController;
[self.window setRootViewController:rootViewController];

[navigationController release];

[self.window makeKeyAndVisible];

return YES;
}
Run Code Online (Sandbox Code Playgroud)

任何帮助是极大的赞赏.

谢谢

Ker*_*rni 5

这是Testflight SDK中的一个错误.他们要求您更新到最新的测试版.

请参阅iOS异常EXC_GUARD