将Glympse Lite SDK从v1.0.10升级到1.0.17后,AUTH_ERROR_API_KEY丢失

时间:2015-02-16 20:21:06

标签: ios glympse

更新Glympse Lite SDK后,我现在在GlympseLiteWrapper.mm文件中收到此错误:

Glympse / GlympseLiteWrapper.mm:88:31:没有名为' AUTH_ERROR_API_KEY'在' Glympse :: LC'

任何想法如何解决这个问题? (如果我注释出来的话似乎确实编译了但是在向Glypmse添加新联系时我遇到了一些崩溃 - 不确定这是否相关但仍然不确定我为什么会收到这些错误)

我出现在这个switch语句中:

switch (code->longValue())
    {

        case Glympse::LC::AUTH_ERROR_API_KEY:
        {
            NSLog(@"UNABLE TO RUN PLATFORM: You must pass the Glympse platform a valid API key.");
            break;
        }
        case Glympse::LC::AUTH_ERROR_CREDENTIALS:
        {
            NSLog(@"UNABLE TO RUN PLATFORM: Invalid credentials sent to Glympse server. \
                  Try deleting and reinstalling the app.");
            break;
        }
        default:
            break;

    }

编辑: 崩溃与输入字母" T"在收件人字段中(请参阅下面的评论)以下是跟踪:([_ _ NSArrayM objectAtIndex:]:索引1超出边界[0 .. 0])

0   CoreFoundation                      0x0000000112773f35 __exceptionPreprocess + 165
1   libobjc.A.dylib                     0x0000000110dcabb7 objc_exception_throw + 45
2   CoreFoundation                      0x000000011265ef33 -[__NSArrayM objectAtIndex:] + 227
3   HotAir                              0x000000010cd41af0 -[GLYContactsPickerViewController filterSocialCells] + 848
4   HotAir                              0x000000010cd41ea2 -[GLYContactsPickerViewController onSearchTextChanged:] + 178
5   UIKit                               0x000000010e6888be -[UIApplication sendAction:to:from:forEvent:] + 75
6   UIKit                               0x000000010e78f410 -[UIControl _sendActionsForEvents:withEvent:] + 467
7   UIKit                               0x000000010edc3f3c -[UITextField fieldEditorDidChange:] + 204
8   UIKit                               0x000000010edcc037 -[UITextInputController _sendDelegateChangeNotificationsForText:selection:] + 118
9   UIKit                               0x000000010edcdca9 -[UITextInputController _insertText:fromKeyboard:] + 643
10  UIKit                               0x000000010edce3f5 -[UITextInputController insertText:] + 294
11  UIKit                               0x000000010e87d265 -[UIKeyboardImpl insertText:] + 89
12  UIKit                               0x000000010e879e92 -[UIKeyboardImpl performKeyboardOutput:] + 487
13  UIKit                               0x000000010e879b81 __55-[UIKeyboardImpl handleKeyboardInput:executionContext:]_block_invoke_2 + 116
14  UIKit                               0x000000010ede6914 -[UIKeyboardTaskQueue continueExecutionOnMainThread] + 332
15  Foundation                          0x000000010e22f212 __NSThreadPerformPerform + 299
16  CoreFoundation                      0x00000001126a9551 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
17  CoreFoundation                      0x000000011269f41d __CFRunLoopDoSources0 + 269
18  CoreFoundation                      0x000000011269ea54 __CFRunLoopRun + 868
19  CoreFoundation                      0x000000011269e486 CFRunLoopRunSpecific + 470
20  GraphicsServices                    0x00000001123869f0 GSEventRunModal + 161
21  UIKit                               0x000000010e687420 UIApplicationMain + 1282
22  HotAir                              0x000000010cbda654 main + 68
23  libdyld.dylib                       0x0000000111218145 start + 1
24  ???                                 0x0000000000000001 0x0 + 1

0 个答案:

没有答案