3

我已将 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;
}

任何帮助是极大的赞赏。

谢谢

4

2 回答 2

5

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

请参阅iOS 异常 EXC_GUARD

于 2013-03-12T12:44:17.320 回答
0

会不会是您忘记正确包含 TestFlight SDK 文件夹?

于 2013-03-12T10:58:01.713 回答