Xcode 8.1 打包发布后 iOS9.3 以下版本闪退 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
solon
V2EX    iPhone

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

  •  
  •   solon 2016-12-14 11:00:38 +08:00 12607 次点击
    这是一个创建于 3237 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 
    5 条回复    2017-01-17 15:09:52 +08:00
    lavzchen
        1
    lavzchen  
       2016-12-14 13:26:13 +08:00
    开启了 bitcode ?
    solon
        2
    solon  
    OP
       2016-12-14 16:15:05 +08:00
    @lavzchen 没有不过我找到了一个类似的问题 http://stackoverflow.com/questions/39404285/xcode-8-build-crash-on-ios-9-2-and-below
    我现在升级 Xcode8.2 看看能不能解决
    finab
        3
    finab  
       2016-12-14 16:29:56 +08:00 via iPhone
    权限 设置了没? 在 info 文件里
    solon
        4
    solon  
    OP
       2016-12-14 16:48:46 +08:00
    @finab 升级 Xcode 8 我把该加的权限全都加了,如果没有加权限审核也难通过呀。
    sunvb
        5
    sunvb  
       2017-01-17 15:09:52 +08:00
    解决了没,我也遇到这样的问题了,可以提供一下思路吗
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     917 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 26ms UTC 23:02 PVG 07:02 LAX 16:02 JFK 19:02
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86