我將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