我将TestFlight SDK集成到iOS应用程序中。在iOS 6.1.2中,有时该应用会在TestFlight的-takeOff:方法中第一次启动应用时崩溃。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;
}
任何帮助,非常感谢。
谢谢
随意展现起飞方法以及:) – 2013-03-12 10:49:16
你能提供任何错误输出? – iDroid 2013-03-12 10:49:17
这是您刚发布的TestFlight密钥吗? – 2013-03-12 10:52:22