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

时间:2013-03-12 10:45:07

标签: 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;
}

非常感谢任何帮助。

由于

2 个答案:

答案 0 :(得分:5)

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

请参阅iOS exception EXC_GUARD

答案 1 :(得分:0)

您是否忘记了正确包含TestFlight SDK文件夹?