iOS MobileVLCKit存档问题

时间:2019-01-30 09:58:20

标签: ios swift vlc archive bitcode

在尝试归档我的项目时,出现此错误

ld: bitcode bundle could not be generated because '/Users//MobileVLCKit/MobileVLCKit.framework/MobileVLCKit(VLCEmbeddedDialogProvider.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build file '/Users//MobileVLCKit/MobileVLCKit.framework/MobileVLCKit' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

试图做enablebitcode = no 但是当我存档时,mac卡住了,经过40分钟,我放弃了。

任何想法我该怎么办以及是否可以使用此pod归档项目?

2 个答案:

答案 0 :(得分:0)

遇到相同的问题,设置 ENABLE BITCODE = NO ,并将 Debug Information Level (调试信息级别) 从“带有dSYM文件的DWARF”更改为“ DWARF” 在发行版中使其成功归档。 See Image: Change Debug Information Format

答案 1 :(得分:0)

当前版本的Xcode 10中dsymutil中存在一个错误,当使用“带有dSYM文件的DWARF”选项对VLCKit进行归档时,该错误将耗尽所有RAM。

当前Xcode Beta中已解决此问题,因此,如果要使用该选项,请将dsymutil从Xcode Beta复制到稳定版本(或从Xcode 9.4中获取dsymutil)以解决该问题。

遗憾的是,我们无法在VLCKit中进行任何更改,就像Apple工具中的错误一样。