Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
238 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...