V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
solon
V2EX  ›  iPhone

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

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

    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   ·   实用小工具   ·   1026 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 22:43 · PVG 06:43 · LAX 15:43 · JFK 18:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.