Revision history [back]

click to hide/show revision 1
initial version

Can not build OnBoardingService sample on iOS

Have been following the steps in https://allseenalliance.org/developers/develop/building/ios-osx with SDK versions 14.12

  • Step 6 under "Add the AllJoyn Core library and dependencies" states $(ALLJOYN_ROOT) and i'm guessing thats a typo and used $(ALLJOYN_SDK_ROOT)

  • Step 2 under "Add the service frameworks" lists paths that does not exist, but they exist in totally different locations with different sizes.

First time i ran the sample, it complained about alljoyn/about/AJNAnnouncement.h file not found. So i switched:

"$(ALLJOYN_SDK_ROOT)/core/alljoyn/build/darwin/arm/$(PLATFORM_NAME)/$(CONFIGURATION:lower)/dist/cpp/inc"

To:

"$(ALLJOYN_SDK_ROOT)/core/alljoyn/build/darwin/arm/$(PLATFORM_NAME)/$(CONFIGURATION:lower)/dist/about/inc"

Under Search Paths / Header Search Paths

After that i instead started to get:

ld: warning: directory not found for option '-L/Users/me/alljoyn-ios/services/alljoyn-onboarding-14.12.00-rel/objc/samples/sampleApp/../alljoyn_services_cpp/build/Debug-iphonesimulator'
ld: warning: directory not found for option '-L/Users/me/alljoyn-ios/services/alljoyn-onboarding-14.12.00-rel/objc/samples/sampleApp/../alljoyn_services_objc/build/Debug-iphonesimulator'
ld: warning: directory not found for option '-L/Users/me/alljoyn-ios/services/alljoyn-onboarding-14.12.00-rel/objc/samples/sampleApp/../../../../services_common/ios/samples/alljoyn_services_cpp/build/Debug-iphonesimulator'
ld: warning: directory not found for option '-L/Users/me/alljoyn-ios/services/alljoyn-onboarding-14.12.00-rel/objc/samples/sampleApp/../../../../services_common/ios/samples/alljoyn_services_objc/build/Debug-iphonesimulator'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

And thats where im stuck. Any idea or a updated walkthrough would be appreciated.