2013-03-12 73 views
3

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

任何幫助,非常感謝。

謝謝

+0

隨意展現起飛方法以及:) – 2013-03-12 10:49:16

+0

你能提供任何錯誤輸出? – iDroid 2013-03-12 10:49:17

+0

這是您剛發佈的TestFlight密鑰嗎? – 2013-03-12 10:52:22

回答

5

這是Testflight SDK中的一個錯誤。他們要求您更新到最新的測試版。

iOS exception EXC_GUARD

+0

謝謝。有效。通過更新到TestFlight SDK 1.2來解決崩潰問題 – srinivas 2013-03-13 06:22:04

0

難道是你忘了正確包含TestFlight SDK文件夾嗎?

+0

檢查並看起來不錯。它僅在iOS 6.1.2和第一次啓動時纔會崩潰。 – srinivas 2013-03-12 11:06:27