1

我已经创建了静态 iotivity 框架(发布),并在 xcode-build 设置中为多个 .a 文件(每个 .a 文件将支持所有架构,如 armv7、arv7s、arm64、i386、x86_64)和使用脚本的头文件启用位代码(https://www.raywenderlich.com/65964/create-a-framework-for-ios)。当我尝试在启用位代码的示例项目中集成生成的 iotivity 框架时,在构建设备时出现以下错误。请让我知道如何解决这个问题。

iotivity.framework/iotivity(OCPlatform.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我已经生成了支持上述所有架构的 FAT 文件。有什么方法可以使用终端创建启用位码的 FAT 文件。

4

0 回答 0