面对IOS应用程序中的问题

时间:2015-06-25 08:59:27

标签: objective-c xcode ipad ios8.3

我必须升级应用程序任何一个帮助我解决错误。这个应用程序是由其他人开发的,所以我无法理解是否应用了适当的逻辑。

我正在使用xcode 6和模拟器iOS 8.3。也许他们使用了Three20框架。

此问题仅面向ios 8,它在ios 7中正常工作。

  

断言失败 - [UIPopoverController   _presentPopoverFromEdge:ofView:animated:],/ SourceCache / UIKit_Sim / UIKit-3347.44 / UIPopoverController.m:880

     

2015-06-25 13:54:09.264 [752:11645]未捕获的异常 - JS:   意外的呈现视图或呈现边缘

     

2015-06-25 13:54:09.265 [752:11645] *终止应用程序   未捕获的异常'NSInternalInconsistencyException',原因:   '意外的呈现视图或呈现边缘'   * 首先抛出调用堆栈:

(
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)类型的未捕获异常终止

1 个答案:

答案 0 :(得分:1)

重命名XCode之外的任何文件时会发生此错误。要解决此问题,请从捆绑包中删除文件并重新导入。

这可以帮到你。