更新时间:2023-09-11 21:53:22
我构建的框架也遇到了这个问题.这对我有用:
I also had this problem with a framework I built. This is what worked for me:
在框架project的Build Settings中将Other C Flags
设置为-fembed-bitcode
在target框架的Build Settings中添加一个名为BITCODE_GENERATION_MODE
的用户定义标志,值为bitcode
In the Build Settings of the framework target add a user defined flag called BITCODE_GENERATION_MODE
with the value of bitcode
在框架项目和目标中,Enable Bitcode
都应该设置为Yes
Both in the framework project and target, Enable Bitcode
should be set on Yes