iOS MobileVLCKit archive problems

爷,独闯天下 提交于 2019-12-14 03:43:08

问题


While trying archiving my project I got this error:

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)

Tried to do enablebitcode = no but then when i archived the mac get stuck and after a 40 minutes period i gave up.

Any idea what can i do and if it is possible to archive the project with this pod ?


回答1:


Had the same problem, setting ENABLE BITCODE = NO and changing Debug Information Level from "DWARF with dSYM File" to "DWARF" in the release makes it archive successfully. See Image: Change Debug Information Format




回答2:


There is a bug in dsymutil in current version of Xcode 10 which will exhaust all your RAM when archiving VLCKit with the "DWARF with dSYM File" option.

This issue is resolved in the current Xcode beta, so if you want to use that option, copy the dsymutil from the Xcode beta to the stable version (or take dsymutil from Xcode 9.4) to work-around the issue.

Regrettably, there is nothing we can change in VLCKit as the bug is in Apple's tools.



来源:https://stackoverflow.com/questions/54437778/ios-mobilevlckit-archive-problems

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!