【发布时间】:2019-06-23 13:37:56
【问题描述】:
在尝试归档我的项目时,我收到了这个错误:
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 归档项目?
【问题讨论】:
-
MobileVLCKit 的部分没有调试符号。再加上 Xcode 10 中的一个错误(我假设这是您正在使用的版本),导致编译占用内存并且永远不会完成。您可以在构建设置中更改
DWARF with dSYM file,或快速搜索其他选项。搜索mobilevlckit xcode 10,你会发现很多关于它的讨论。
标签: ios swift vlc archive bitcode