Invalid Executable The executable contains bitcode
-
升级xcode16后,打包上传testflight时三方库报错:
Invalid Executable - The executable '***.app/Frameworks/xxx.framework/xxx' contains bitcode.
-
解决方案:
执行一下指令删除该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