Glympse Lite SDK を更新した後、GlympseLiteWrapper.mm ファイルに次のエラーが表示されます。
Glympse/GlympseLiteWrapper.mm:88:31: 'Glympse::LC' に 'AUTH_ERROR_API_KEY' という名前のメンバーがありません
これを解決する方法はありますか?(行をコメントアウトすると、コンパイルされているように見えますが、Glypmse に新しい連絡先を追加するときにいくつかのクラッシュが発生します - それが関連しているかどうかはわかりませんが、これらのエラーが発生する理由はまだわかりません)
I は、次の 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:]: index 1 beyond bounds [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