我已经为我的 iOS 应用程序安装了 Testflight SDK 1.2.4。我正在使用 Xcode 版本:4.6。设备:IOS 6.1。还上传了 .ipa 和 .dSYM。
当我运行 Xcode 时,它显示以下日志:
TestFlight:已启动会话
TestFlight:已安装崩溃处理程序
TestFlight:应用程序令牌错误 - 您的应用程序令牌无法识别 https://testflightapp.com
TestFlight:检查点已通过 - User_Check_Point
TestFlight:与 TestFlight 的通信当前已禁用,请在您的日志中早些时候检查细节
我确定 App Token 是完全正确的。同样在 SDK Debugger 中只有会话开始和结束报告;
这是我的代码:
-(BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// start of your application:didFinishLaunchingWithOptions
// ...
//#define TESTING 1
//#ifdef TESTING
// NSUUID *uniqueIdentifier = [[UIDevice currentDevice] identifierForVendor];
//
// [TestFlight setDeviceIdentifier:[uniqueIdentifier UUIDString]];
//#endif
NSSetUncaughtExceptionHandler(&HandleExceptions);
// create the signal action structure
struct sigaction newSignalAction;
// initialize the signal action structure
memset(&newSignalAction, 0, sizeof(newSignalAction));
// set SignalHandler as the handler in the signal action structure
newSignalAction.sa_handler = &SignalHandler;
// set SignalHandler as the handlers for SIGABRT, SIGILL and SIGBUS
sigaction(SIGABRT, &newSignalAction, NULL);
sigaction(SIGILL, &newSignalAction, NULL);
sigaction(SIGBUS, &newSignalAction, NULL);
[TestFlight takeOff:@"my_app_token"];
// The rest of your application:didFinishLaunchingWithOptions method
}
我的错误在哪里?!请帮我。提前致谢。