iOS MobileVLCKit archive problems

2019-04-16 23:56发布

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 ?

2条回答
霸刀☆藐视天下
2楼-- · 2019-04-17 00:19

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.

查看更多
爷的心禁止访问
3楼-- · 2019-04-17 00:37

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

查看更多
登录 后发表回答