我已将 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;
}
非常感谢任何帮助。
谢谢
最佳答案
这是 Testflight SDK 中的错误。他们要求您更新到最新的测试版。
关于iphone - 应用程序在 [TestFlight takeOff : @""] in iOS 6. 1.2 上崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15359057/