应用程序崩溃,因为iAd无法及时恢复

时间:2010-09-14 21:31:19

标签: iphone objective-c cocoa-touch xcode iad

当我没有iAd时,我的应用运行正常。只要我显示iAd,系统就会关闭我的应用程序,因为iAd无法及时恢复。

如何解决此问题?

Elapsed total CPU time (seconds): 1.380 (user 0.880, system 0.500), 14% CPU 
Elapsed application CPU time (seconds): 0.000, 0% CPU

Thread 0:
0   libSystem.B.dylib               0x00000c98 mach_msg_trap + 20
1   libSystem.B.dylib               0x00002d64 mach_msg + 44
2   AppSupport                      0x0001009e CPDMMessage + 158
3   AppSupport                      0x0000f3e4 -[CPDistributedMessagingCenter _sendMessage:userInfoData:oolKey:oolData:makeServer:receiveReply:nonBlocking:error:] + 848
4   AppSupport                      0x0000ed76 -[CPDistributedMessagingCenter _sendMessage:userInfo:receiveReply:error:toTarget:selector:context:nonBlocking:] + 618
5   AppSupport                      0x0000deba -[CPDistributedMessagingCenter _sendMessage:userInfo:receiveReply:error:toTarget:selector:context:] + 58
6   AppSupport                      0x0000e08e -[CPDistributedMessagingCenter sendMessageName:userInfo:] + 34
7   iAd                             0x00012bcc -[ADSession sendMessageName:userInfo:] + 100
8   iAd                             0x00013cfe -[ADSession open] + 22
9   iAd                             0x000065c2 -[ADBannerView sessionDidBecomeAvailable:] + 38
10  iAd                             0x00014d60 -[ADSessionManager considerCreatingSessions] + 416
11  iAd                             0x00014a42 __-[ADSessionManager sessionForRecipient:]_block_invoke_1 + 34
12  libSystem.B.dylib               0x000d597c _dispatch_call_block_and_release + 12
13  libSystem.B.dylib               0x000d69f4 _dispatch_main_queue_callback_4CF + 212
14  CoreFoundation                  0x00027894 __CFRunLoopRun + 1328
15  CoreFoundation                  0x00027270 CFRunLoopRunSpecific + 224
16  CoreFoundation                  0x00027178 CFRunLoopRunInMode + 52
17  GraphicsServices                0x000045ec GSEventRunModal + 108
18  GraphicsServices                0x00004698 GSEventRun + 56
19  UIKit                           0x0000411c -[UIApplication _run] + 396
20  UIKit                           0x00002128 UIApplicationMain + 664
21  StockTwits                      0x00002c5c main (main.m:14)
22  StockTwits                      0x00002c2c start + 32

1 个答案:

答案 0 :(得分:0)

叹息,这是iAds的一个错误。还没有确认的工作。假设在4.2中修复,如果是需要的4.2 SDK,或者如果用户需要升级,则无法说明。

https://devforums.apple.com/message/309701

相关问题