我将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;
}
非常感谢任何帮助。
由于
答案 0 :(得分:5)
这是Testflight SDK中的一个错误。他们要求您更新到最新的测试版。
答案 1 :(得分:0)
您是否忘记了正确包含TestFlight SDK文件夹?