iOS应用程序使用GoogleMaps崩溃:NSInvalidUnarchiveOperationException无法



我的iOS应用程序中没有使用MapKit;我通过pod使用GoogleMaps v2.7.0。它在我的iPhone 5s iOS v10.3.3上崩溃了。

我没有任何线索。有人经历过这种情况吗?

Fatal Exception: NSInvalidUnarchiveOperationException
0  CoreFoundation                 0x18d946fe0 __exceptionPreprocess
1  libobjc.A.dylib                0x18c3a8538 objc_exception_throw
2  CoreFoundation                 0x18d946f28 -[NSException initWithCoder:]
3  UIKit                          0x1940ce4b4 UINibDecoderDecodeObjectForValue
4  UIKit                          0x1940ce760 UINibDecoderDecodeObjectForValue
5  UIKit                          0x1940ce328 -[UINibDecoder decodeObjectForKey:]
6  UIKit                          0x193d5df84 -[UIView initWithCoder:]
7  UIKit                          0x1940ce5e8 UINibDecoderDecodeObjectForValue
8  UIKit                          0x1940ce760 UINibDecoderDecodeObjectForValue
9  UIKit                          0x1940ce328 -[UINibDecoder decodeObjectForKey:]
10 UIKit                          0x193d5df84 -[UIView initWithCoder:]
11 UIKit                          0x1940ce5e8 UINibDecoderDecodeObjectForValue
12 UIKit                          0x1940ce328 -[UINibDecoder decodeObjectForKey:]
13 UIKit                          0x193f80114 -[UIRuntimeConnection initWithCoder:]
14 UIKit                          0x1940ce5e8 UINibDecoderDecodeObjectForValue
15 UIKit                          0x1940ce760 UINibDecoderDecodeObjectForValue
16 UIKit                          0x1940ce328 -[UINibDecoder decodeObjectForKey:]
17 UIKit                          0x193f7f454 -[UINib instantiateWithOwner:options:]
18 UIKit                          0x193ddfe6c -[UIViewController _loadViewFromNibNamed:bundle:]
19 UIKit                          0x193baa0b0 -[UIViewController loadView]
20 UIKit                          0x193a787ac -[UIViewController loadViewIfRequired]
21 UIKit                          0x193a90590 -[UIViewController __viewWillAppear:]
22 UIKit                          0x193c14e18 -[UINavigationController _startCustomTransition:]
23 UIKit                          0x193b2f7bc -[UINavigationController _startDeferredTransitionIfNeeded:]
24 UIKit                          0x193b2f424 -[UINavigationController __viewWillLayoutSubviews]
25 UIKit                          0x193b2f388 -[UILayoutContainerView layoutSubviews]

在我的情况下,我忘记删除故事板中的MKMapView。所以删除它解决了我的问题。lol

相关内容

  • 没有找到相关文章

最新更新