error: Invalid bitcode version (Producer: '800.0.35.0_0' Reader: '703.0.31_0')

前端 未结 7 1511
無奈伤痛
無奈伤痛 2020-11-30 08:24

When I try to Archive my application on Xcode 7.3.1, I am getting following error:

error: Invalid bitcode version (Producer: \'800.0.35.0_0\' Reader:

7条回答
  •  悲哀的现实
    2020-11-30 09:01

    The error basically says:

    The static linker could not correctly link a certain bitcode bundle, which was produced using Producer: '902.0.39.2', and is being read using Reader: '900.0.37'.

    You can look up at https://gist.github.com/yamaya/2924292 to identify the Xcode versions for the corresponding compiler versions. In the current case, the reader (our Xcode version) is Xcode 9.0, whereas the producer (Xcode version of typically a third party SDK) is Xcode 9.4. The incompatibility between the two is the root cause of this issue.

    You may either:

    • turn off the bitcode as discussed in other answers, or
    • roll-back the SDK to a previous version that worked well, or
    • update your codebase to use the newer Xcode version.

提交回复
热议问题