Search code examples
iosswiftvlcarchivebitcode

iOS MobileVLCKit archive problems


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 ?


Solution

  • 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