在尝试存档我的项目时,我收到此错误:
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归档项目?
遇到同样的问题,在发行版中设置ENABLE BITCODE = NO并将调试信息级别从“DWARF with dSYM File”更改为“DWARF”使其成功存档。 See Image: Change Debug Information Format
在当前版本的Xcode 10中,dsymutil中存在一个错误,当使用“带有dSYM文件的DWARF”选项存档VLCKit时,它将耗尽所有RAM。
此问题已在当前Xcode测试版中得到解决,因此如果您要使用该选项,请将dscodeutil从Xcode beta复制到稳定版本(或从Xcode 9.4获取dsymutil)以解决此问题。
遗憾的是,我们无法在VLCKit中更改任何内容,因为该漏洞存在于Apple的工具中。