Compile Sample have error in iOS7 and iOS 7.1

asked 2014-05-13 03:02:06 -0700

dickfala gravatar image

I had try to compile AllJoyn sample code about "ALLJOYN iOS Project Template".

When I build in iOS6 have a warning like below:

"ld: warning: directory not found for option '-L/Users/changyuanyu/sdk/alljoyn-ios/core/alljoyn-14.02.00-osx_ios-sdk/build/darwin/i386/iphonesimulator/Debug/dist/cpp/lib'"

But When I compile to iOS7 and iOS7.1 have show error.

The error message like this " ld: warning: directory not found for option '-L/Users/changyuanyu/sdk/alljoyn-ios/core/alljoyn-14.02.00-osx_ios-sdk/build/darwin/i386/iphonesimulator/Debug/dist/cpp/lib' Undefined symbols for architecture i386: "std::_List_node_base::hook(std::_List_node_base*)", referenced from:.... }"

I had printscrren my error photo below:

detail error message

Have anyone have some solution on iOS7 and iOS7.1?

I feel that I can't find i386 folder.photo

Thank you~

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-16 11:34:44 -0700

Nikhil Dabhade gravatar image

The path that it is trying to use to find the library is build/darwin/i386 The iOS SDK does not have a folder called i386. I think Xcode is trying to use the configuration path in its library search path. Try this: Change the library and header search path to build/darwin/arm/iphonesimulator/Debug/dist/cpp/lib Give it a try

edit flag offensive delete publish link more


Thanks . But It will show some problem about (https://ask.allseenalliance.org/question/441/is-alljoyn-support-64bit-device-in-ios/) . It was can't upload 64bit device. Did you know what's problem? thanks.

dickfala ( 2014-05-18 01:43:36 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-05-13 03:02:06 -0700

Seen: 317 times

Last updated: May 16 '14