Jump to content
Mumble forums

missing required architecture x86_64 in …libMumbleKit.a (3 s


fbartolom
 Share

Recommended Posts

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 i386

notwithstanding, when I execute:

 

lipo -info libMumbleKit.a

I get:

Architectures in the fat file: libMumbleKit.a are: armv7 armv7s arm64

as 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 armv7

Same 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 arm64

And 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 arm64

CryptState.cpp if a c++ file in the library.

Link to comment
Share on other sites

I applied the suggestion at:


http://stackoverflow.com/questions/32525916/xcode-7-crashreporter-does-not-contain-bitcode-linker-error


by 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 arm64

What might be still missing?


The issue with the simulator has not changed yet.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...