2012-12-10 1 views
0

필자는 지원 팀이 많은 문제를 성공적으로 해결 한 것을 보았습니다. 영웅 지원에 명성.Xtify Datastore Richnotification db is Nil

여기 내 작은 사람이 있습니다.

나는 책으로 모든 것을 설치했고, iPhone 5, 펌웨어 6.0.1에서 코드를 실행했다. 다음과 같은 오류가 발생합니다 : ERROR 데이터 저장소 만들기. richnotification db에 대한 Datastore는 nil입니다. 아래는 로그입니다. 또한 다음은 마지막 예외 백 트레이스입니다.

-[XLappMgr registerForPush] [Line 325] Attempt to register for push notifications... 
Reachability Flag Status: WR t------ networkStatusForFlags 
Succeeded registering for push notifications. Device token: <left out for security purposes, but valid.> 
ERROR Creating data store. Datastore for richnotification db is nil 


Last Exception Backtrace: 
0 CoreFoundation  0x3972a3e2 __exceptionPreprocess + 158 
1 libobjc.A.dylib  0x385b695e objc_exception_throw + 26 
2 CoreFoundation  0x3972a302 +[NSException raise:format:] + 102 
3 Foundation   0x39964f14 -[NSURL(NSURL) initFileURLWithPath:] + 72 
4 Foundation   0x39964e3e +[NSURL(NSURL) fileURLWithPath:] + 38 
5 Rabbit    0x00108acc -[XLDbMgr managedObjectModel]  (XLDbMgr.m:74) 
6 Rabbit    0x00108caa -[XLDbMgr createNewDatabase] (XLDbMgr.m:101) 
7 Rabbit    0x00108b4c -[XLDbMgr persistentStoreCoordinator] (XLDbMgr.m:89) 
8 Rabbit    0x001088f0 -[XLDbMgr managedObjectContext] (XLDbMgr.m:47) 
9 Rabbit    0x0010883c +[XLDbMgr getDBMgr] (XLDbMgr.m:23) 
10 Rabbit    0x000fba10 -[AppDetailsMgr init] (AppDetailsMgr.m:33) 
11 Rabbit    0x000fb97c +[AppDetailsMgr get] (AppDetailsMgr.m:26) 
12 Rabbit    0x00110fd2 -[XLServerMgr sendProviderDeviceToken] (XLServerMgr.m:94) 
13 Rabbit    0x00110d0c -[XLServerMgr initWithReg:] (XLServerMgr.m:64) 
14 Rabbit    0x001000d6 -[XLappMgr registerWithXtify:] (XLappMgr.m:118) 
15 Rabbit    0x0008073e -[AppDelegate application:didRegisterForRemoteNotificationsWithDeviceToken:] (AppDelegate.m:54) 
16 UIKit    0x38c5f7ee _UIXXRemoteNotificationRegistrationSucceeded + 146 
17 UIKit    0x38c60278 _XRemoteNotificationRegistrationSucceeded + 112 
18 AppSupport   0x36a9940c migHelperRecievePortCallout + 188 
19 CoreFoundation  0x396ff3e2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 
20 CoreFoundation  0x396ff386 __CFRunLoopDoSource1 + 134 
21 CoreFoundation  0x396fe20a __CFRunLoopRun + 1378 
22 CoreFoundation  0x39671238 CFRunLoopRunSpecific + 352 
23 CoreFoundation  0x396710c4 CFRunLoopRunInMode + 100 
24 GraphicsServices 0x369aa336 GSEventRunModal + 70 
25 UIKit    0x38a6128c UIApplicationMain + 1116 
26 Rabbit    0x0008055a main (main.m:16) 
27 Rabbit    0x000804fc start + 36 
+0

안녕하세요, Ron, 샘플 앱을 만들 때이 오류가 표시 되나요? 아니면 내 앱에이 오류가 있습니까? –

+0

내 응용 프로그램 내에서 Michael. – Alistair

+0

하지만 이전에 다른 곳에서 사용 되었기 때문에 최근에 서버에서 푸시 인증서를 재설정했습니다. 어떤 지원도하지 않은 다른 회사. – Alistair

답변

2

나는 어도비 AIR 응용 프로그램에 대한 ANE를했고 나는 오랫동안이 문제를 해결했지만, 결국 나는 이유 실현 다음 XtifyLib/XtifyPush.embeddedframework/XtifyPush.framework에 리소스 파일을/Versions/A/Resources /는 항상 내 프로젝트에서는 프로젝트에 추가해야합니다. ANE는 ADT가 최상위 디렉토리로 이동하기 때문에 폴더 iPhone-ARM에 있어야합니다. 필요한 곳에 있습니다.