undefined libraries for arch armv7

asked 2015-06-09 05:11:19 -0700

FernanP gravatar image


I am trying to include AllJoyn SDK in an iOS Project, for that I followed the guide ( https://allseenalliance.org/developers/develop/building/ios-osx ) and after fix some minor problems (e.g. there is a error in the guide where say to define a var ALLJOYN_SDK_ROOT and after that it says to add in the library path a path where reference to ALLJOYN_ROOT, instead of ALLJOYN_SDK_ROOT) I am stuck on the next error:

Undefined symbols for architecture armv7: "_OBJC_CLASS_$_UIResponder", referenced from: _OBJC_CLASS_$_AppDelegate in AppDelegate.o "_OBJC_METACLASS_$_UIResponder", referenced from: _OBJC_METACLASS_$_AppDelegate in AppDelegate.o

Taking a look to the SDK I noticed that for armv7 and armv7s there is not define and "about" folder like for arm( ../alljoyn-ios/core/alljoyn/build/darwin/arm/iphoneos/debug/dist/about) so the next libraries liballjoyn_about_cpp.a, liballjoyn_about_objc.a, libAllJoynFramework_iOS.a are missed for armv7 and armv7s architectures.

Any advice of how to fix that? ,I tried to download the source code and compile this by my self but again I get a lot of errors and I want to be sure there is no other option before expend more time trying to fix that.

edit retag flag offensive close merge delete


the core working group is looking for people to maintain iOS/OSX bindings, SDKs, and documentation, if you're interested in helping.

ry.jones ( 2015-06-18 11:51:10 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-06-11 09:22:13 -0700

pbergson gravatar image

You are correct, you do need to use the library in the about folder. Unfortunately, the build script for the AllJoynFramework_iOS.xcodeproj still puts the libraries into a directory called arm (or i386 if you're looking for the simulator), but it is building both armv7 and arm64 architectures, so you can use the library you found. I should note that I have not at any point been able to get or build armv7s libraries for alljoyn, as those build schemes all result in arm64, but armv7s devices will run the armv7 libraries.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-06-09 05:11:19 -0700

Seen: 141 times

Last updated: Jun 11 '15