fbartolom Posted November 2, 2015 Share Posted November 2, 2015 I am trying to include MumbleKit as a library instead of having to compile it each time by following the suggestion of a member of this forum. Yet when I try to compile on the simulator I get: missing required architecture x86_64 in …libMumbleKit.a (3 slices)I think I added all the necessary versions to MumbleKit before generating the library: arm64 armv7 armv7s armv7k arm7s x86_64 i386notwithstanding, when I execute: lipo -info libMumbleKit.aI get:Architectures in the fat file: libMumbleKit.a are: armv7 armv7s arm64as well as configuring Build Active Architecture to NO. I generated the library for MumbleKit both using the Generic iOS device and a iOS 9 physical device.When I try to archive using the Generic iOS Device option after having extracted the Mumble library in the same way, I instead get error: ld: bitcode bundle could not be generated because '/Users/fbartolom/Documents/cocoa applications/inArrivoHD/MumbleKit/libMumbleKit.a(CryptState.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture armv7Same when using my physical device after also generating the library in the correspondent way: ld: bitcode bundle could not be generated because '/Users/fbartolom/Documents/cocoa applications/inArrivoHD/MumbleKit/libMumbleKit.a(CryptState.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64And finally the installation on my iOS 9 iPhone 6S went fine with just the same contents in the warning: ld: bitcode bundle could not be generated because '/Users/fbartolom/Documents/cocoa applications/inArrivoHD/MumbleKit/libMumbleKit.a(CryptState.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64CryptState.cpp if a c++ file in the library. Quote Link to comment Share on other sites More sharing options...
fbartolom Posted November 2, 2015 Author Share Posted November 2, 2015 I applied the suggestion at:http://stackoverflow.com/questions/32525916/xcode-7-crashreporter-does-not-contain-bitcode-linker-errorby adding option -fembed-bitcode to the other linker flags field. And now the problem has moved to a c file: band.c, notwithstanding of course I have added this option for the c and c++ files. ld: bitcode bundle could not be generated because '/Users/fbartolom/Documents/cocoa applications/inArrivoHD/MumbleKit/libMumbleKit.a(bands.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64What might be still missing?The issue with the simulator has not changed yet. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.