1 , APP 在 Xcode8.1 直接安装到手机上各个版本跑都没有任何问题,发布到蒲公英, fir 上面在 iOS9.3 以下也没有任何问题,但是当我提交到 AppStore 以及用 testfight 安装到手机在 iOS9.3 以下的版本都会异常闪退,有没有人遇到同样的问题呀,求解,我在使用 Xcode7 发布没有遇到过这种问题。
2 , crash 日志如下:
出错堆栈
0 libobjc.A.dylib objc_msgSend + 28 1 libobjc.A.dylib (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 508 2 FrontBoardServices -[FBSSerialQueue _performNext] + 192 3 FrontBoardServices -[FBSSerialQueue _performNextFromRunLoopSource] + 56 4 CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 5 CoreFoundation ___CFRunLoopDoSources0 + 540 6 CoreFoundation ___CFRunLoopRun + 724 7 CoreFoundation CFRunLoopRunSpecific + 384 8 UIKit -[UIApplication _run] + 460 9 UIKit UIApplicationMain + 204 10 huxijia main (main.m:14) 11 libdyld.dylib _start + 4出错堆栈 0 libobjc.A.dylib objc_msgSend + 28 1 UIKit -[UINibStringIDTable lookupKey:identifier:] + 132 2 UIKit -[UINibDecoder decodeObjectForKey:] + 48 3 CoreFoundation -[NSOrderedSet initWithCoder:] + 208 4 UIKit _UINibDecoderDecodeObjectForValue + 672 5 UIKit -[UINibDecoder decodeObjectForKey:] + 336 6 UIKit -[_UIRelationshipTraitStorage initWithCoder:] + 100 7 UIKit _UINibDecoderDecodeObjectForValue + 672 8 UIKit _UINibDecoderDecodeObjectForValue + 1048 9 UIKit -[UINibDecoder decodeObjectForKey:] + 336 10 UIKit -[_UITraitStorageList initWithCoder:] + 164 11 UIKit _UINibDecoderDecodeObjectForValue + 672 12 UIKit _UINibDecoderDecodeObjectForValue + 1048 13 UIKit -[UINibDecoder decodeObjectForKey:] + 336 14 UIKit -[UINib instantiateWithOwner:options:] + 1416 15 UIKit -[UIViewController _loadViewFromNibNamed:bundle:] + 376 16 UIKit -[UIViewController loadView] + 176 17 UIKit -[UIViewController loadViewIfRequired] + 144 18 UIKit -[UINavigationController _layoutViewController:] + 72 19 UIKit -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 416 出错堆栈 0 libobjc.A.dylib objc_msgSend + 28 1 libcache.dylib __entry_get_optionally_checking_collisions + 52 2 libcache.dylib __entry_table_resize + 308 3 libcache.dylib cache_set_and_retain + 852 4 CoreFoundation -[NSCache setObject:forKey:cost:] + 268 5 CoreUI -[CUIStructuredThemeStore _canGetRenditionWithKey:isFPO:lookForSubstitutions:] + 860 6 CoreUI -[CUICatalog _resolvedRenditionKeyFromThemeRef:withBaseKey:scaleFactor:deviceIdiom:deviceSubtype:sizeClassHorizontal:sizeClassVertical:memoryClass:graphicsClass:graphicsFallBackOrder:] + 924 7 CoreUI -[CUICatalog namedLookupWithName:scaleFactor:deviceIdiom:deviceSubtype:sizeClassHorizontal:sizeClassVertical:] + 148 8 UIKit ___98-[_UIAssetManager imageNamed:scale:idiom:subtype:cachingOptions:sizeClassPair:attachCatalogImage:]_block_invoke + 424 9 UIKit -[_UIAssetManager imageNamed:scale:idiom:subtype:cachingOptions:sizeClassPair:attachCatalogImage:] + 260 10 UIKit -[UIImageAsset imageWithTraitCollection:] + 404 11 UIKit -[UIImageView _resolveImageForTrait:] + 460 12 UIKit -[UIImageView _didMoveFromWindow:toWindow:] + 212 13 UIKit -[UIView(Internal) _didMoveFromWindow:toWindow:] + 760 14 UIKit -[UIActivityIndicatorView _didMoveFromWindow:toWindow:] + 196 15 UIKit -[UIView(Internal) _didMoveFromWindow:toWindow:] + 760 16 UIKit -[UIView(Internal) _didMoveFromWindow:toWindow:] + 760 17 UIKit -[UIView(Internal) _didMoveFromWindow:toWindow:] + 760 18 UIKit ___45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 152 19 UIKit -[UIView(Hierarchy) _postMovedFromSuperview:] + 504
1
lavzchen 2016-12-14 13:26:13 +08:00
开启了 bitcode ?
|
2
solon OP @lavzchen 没有不过我找到了一个类似的问题 http://stackoverflow.com/questions/39404285/xcode-8-build-crash-on-ios-9-2-and-below
我现在升级 Xcode8.2 看看能不能解决 |
3
finab 2016-12-14 16:29:56 +08:00 via iPhone
权限 设置了没? 在 info 文件里
|
5
sunvb 2017-01-17 15:09:52 +08:00
解决了没,我也遇到这样的问题了,可以提供一下思路吗
|