【发布时间】:2013-05-16 03:54:10
【问题描述】:
我已经为我的 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
}
我的错误在哪里?!请帮我。提前致谢。
【问题讨论】:
-
我已经解决了(cookie 的问题)!感谢关注。
-
刚刚遇到了同样的问题 - 从旧令牌到新的应用令牌方法。你能解释一下你是怎么修的吗?
标签: ios6 testflight