Xcode 8.1打包发布后iOS9.3以下版本闪退

1,APP在Xcode8.1直接安装到手机上各个版本跑都没有任何问题,发布到蒲公英,fir上面在iOS9.3以下也没有任何问题,但是当我提交到AppStore以及用testfight安装到手机在iOS9.3以下的版本都会随机闪退,有没有人遇到同样的问题呀,求解,我在使用Xcode7发布没有遇到过这种问题。

2.我在stackoverflow上找了相关的问题,但是我的APP中并没有p3的图片可能是部署版本的问题,后续更新,http://stackoverflow.com/ques…

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

我也遇到了一模一样的问题,请问楼主解了吗?

楼主你好,我也遇到给以一样的问题,请问你解决了吗,我是各种尝试不行,最后给退回用xcode7编译的。

解决了,把工程中的16位图片转成8位即可。可参考我的SO问题
http://stackoverflow.com/q/42

  • 一个奇葩的问题 同型号同系统版本手机,一台编译失败 一台编译成功…
  • Xcode8 archive后 没有生成ipa 求救
  • git merge以后貌似文件有冲突了,不知道怎么修改
  • Xcode 7.0 commit错误
  • 同一个类有,都引用了其他类中相同方法名的方法,那么它是怎么判断用哪个方法的?
  • Xcode编译错误:Lipo: can’t open input file
  • xcode调试terminate_handler unexpectedly threw an exception错误
  • Xcode8 断点不走
  • 下载了别人的源码,出现ld:library not found for -lXXX 的问题
  • iOS 中的缓存能被完全清除吗
  • $(PROJECT_DIR) 与$(SRCROOT)在Xcode的实际开发中有什么区别.