Invalid Executable The executable contains bitcode

Invalid Executable The executable contains bitcode

  • 升级xcode16后,打包上传testflight时三方库报错:Invalid Executable - The executable '***.app/Frameworks/xxx.framework/xxx' contains bitcode.
    Invalid Executable The executable contains bitcode_第1张图片

  • 解决方案:
    执行一下指令删除该framework的bitcode
    xcrun bitcode_strip ${framework_path} -r -o ${framework_path
    framework_path是该xxx.framework目录下的路径

    或者cd到该xxx.framework目录下执行
    xcrun bitcode_strip xxx -r -o xxx
    Invalid Executable The executable contains bitcode_第2张图片

你可能感兴趣的:(iOS,xcode,ios)