Xcode 10 not being able to archive project

后端 未结 3 447
粉色の甜心
粉色の甜心 2020-12-06 06:22

I\'m trying to upload a new version of an app that is already in the AppStore. Previous version was uploaded using Xcode 9.4. But now Xcode 10 will be required in order to g

相关标签:
3条回答
  • 2020-12-06 07:03

    We were able to get it to Archive with DSYM by removing optimizations for Swift Compile in the build settings.

    Build Settings -> Swift Compiler - Code Generation -> Release

    set to "No Optimizations"

    Original fix suggested by JacobJ84 on Apple forum: https://forums.developer.apple.com/thread/115185

    0 讨论(0)
  • 2020-12-06 07:07

    Finally, I removed "armv7" from "Valid Architectures" of project build settings. It archived! This means iPhone 4S is not compatible anymore. But, I don't think Apple will deprecate 4S in this way. By diving into the logs, I found that it stucks in creating dSYM symbols.

    [17:15:49]: ▸ Generating 'ZUS_INHOUSE_DEV.app.dSYM'
    [17:16:15]: ▸
    [17:16:15]: ▸ (arm64)  could not find object file symbol for symbol _lum_convert
    [17:16:15]: ▸ (arm64)  could not find object file symbol for symbol _ff_init_desc_hscale
    [17:16:15]: ▸ (arm64)  could not find object file symbol for symbol _lum_h_scale
    [17:16:15]: ▸ (arm64)  could not find object file symbol for symbol _ff_init_desc_cfmt_convert
    [17:16:15]: ▸
    [17:16:15]: ▸ (arm64)  could not find object file symbol for symbol _ff_init_desc_chscale
    [17:16:15]: ▸ (arm64)  could not find object file symbol for symbol _chr_h_scale
    [17:16:15]: ▸ (arm64)  could not find object file symbol for symbol _ff_init_desc_no_chr
    [17:16:15]: ▸ (arm64)  could not find object file symbol for symbol _no_chr_scale
    [17:16:30]: ▸ (arm64)  could not find object file symbol for symbol _vlc_entry__audio_filter_libscaletempo_pitch
    [17:16:30]: ▸
    [17:16:30]: ▸
    [17:16:30]: ▸
    [17:16:30]: ▸
    [17:16:30]: ▸
    [17:16:30]: ▸
    [17:16:30]: ▸ (arm64)  failed to insert symbol '_best_overlap_offset_float' in the debug map.
    

    Thus, I guess, another workaround is change "Debug Infomation Format" from "DWARF with dSYM File" to "DWARF".

    0 讨论(0)
  • 2020-12-06 07:08

    Like LexTang hinted, one of the workarounds that works, without need to remove armv7 from valid architectures, is to set "DWARF" for "Debug Information Format". Unfortunately, this way we are loosing option for automated crash symbolication. This way finding cause of crash is much harder, but still not impossible. On following links you can find more info about symbolicating iOS crashes: https://coderwall.com/p/ezdcmg/symbolicating-an-ios-crash-log-without-the-original-dsym-file https://www.apteligent.com/technical-resource/symbolicating-an-ios-crash-report

    0 讨论(0)
提交回复
热议问题