我必须升级应用程序,任何人都可以帮助我解决错误。这个应用程序是由其他人开发的,所以我不明白是否应用了正确的逻辑。
我使用的是xcode 6和模拟器iOS 8.3。也许他们使用了Three20框架。
这个问题只在ios 8中面临,它在ios 7中正常工作。
-[UIPopoverController中的断言失败_presentPopoverFromEdge:ofView:animated:],/SourceCache/UICit_Sim/UICit-3347.44/UIPopoverController.m:880
2015-06-25 13:54:09.264[752:11645]未捕获的异常-JS:意外的呈现视图或呈现边缘
2015-06-25 13:54:09.265[752:11645]*由于未捕获异常"NSInternalConferenceException",原因:'意外的演示视图或演示边缘'*首次抛出调用堆栈:
(
0 CoreFoundation 0x000000010c556c65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010c1efbb7 objc_exception_throw + 45
2 CoreFoundation 0x000000010c556aca +[NSException raise:format:arguments:] + 106
3 Foundation 0x0000000109f9b98f -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
4 UIKit 0x000000010a979f01 -[UIPopoverController _presentPopoverFromEdge:ofView:animated:] + 200
5 UIKit 0x000000010a97b07a -[UIPopoverController _shimPresentSlidingPopoverAnimated:] + 126
6 UIKit 0x000000010a97cd91 -[UIPopoverController presentPopoverFromBarButtonItem:permittedArrowDirections:animated:] + 70
7 0x0000000108647313 -[RootViewSplitController willOpenContentUrlPath:] + 339
8 CoreFoundation 0x000000010c44cdec __invoking___ + 140
9 CoreFoundation 0x000000010c44cc42 -[NSInvocation invoke] + 290
10 0x0000000108757d4b -[TTURLNavigatorPattern invoke:withURL:query:] + 379
11 0x0000000108757eca -[TTURLNavigatorPattern createObjectFromURL:query:] + 298
12 0x0000000108753f94 -[TTURLMap objectForURL:query:pattern:] + 260
13 0x000000010875c03c -[TTBaseNavigator viewControllerForURL:query:pattern:] + 652
14 0x000000010875b357 -[TTBaseNavigator openURLAction:] + 791
15 0x0000000108748b4a TTOpenURLFromView + 138
16 0x000000010873638b -[TTTableViewDelegate tableView:didSelectRowAtIndexPath:] + 283
17 UIKit 0x000000010a48edc9 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1293
18 UIKit 0x000000010a48ef0a -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 219
19 UIKit 0x000000010a3c162c _applyBlockToCFArrayCopiedToStack + 314
20 UIKit 0x000000010a3c14a6 _afterCACommitHandler + 533
21 CoreFoundation 0x000000010c489ca7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
22 CoreFoundation 0x000000010c489c00 __CFRunLoopDoObservers + 368
23 CoreFoundation 0x000000010c47fa33 __CFRunLoopRun + 1123
24 CoreFoundation 0x000000010c47f366 CFRunLoopRunSpecific + 470
25 GraphicsServices 0x000000010cf43a3e GSEventRunModal + 161
26 UIKit 0x000000010a39d900 UIApplicationMain + 1282
27 0x00000001085d1d12 main + 162
28 libdyld.dylib 0x000000010cac3145 start + 1
)
libc++abi.dylib:以NSException(lldb)类型的未捕获异常终止
重命名XCode之外的任何文件时都会发生此错误。要解决此问题,请从捆绑包中删除文件并重新导入。
这可以帮助你。