Mykola Tkachenko February 2016

AllJoyn sample app Build failed on Xcode

I want to test AllJoyn chat app but following official step-by-step documentation where first step is "Build a sample" and instructions are All goes fine until step: Build the samples

Open each of the following sample iOS applications in Xcode and build them by selecting Project > Build from the Xcode menu.


I opened /Users/piran/Documents/alljoyn/alljoyn-ios/core/alljoyn/alljoyn_objc/samples/iOS/BasicClient/BasicClient.xcodeproj in Xcode and trying Product->Build this fails with error ld: warning: directory not found for option '-L/build/Debug-iphonesimulator' ld: library not found for -lssl clang: error: linker command failed with exit code 1 (use -v to see invocation)

Ld /Users/piran/Library/Developer/Xcode/DerivedData/BasicClient-hawoulujhrgmpnfbxiryzpjkiasq/Build/Products/Debug-iphonesimulator/ normal i386
    cd /Users/piran/Documents/alljoyn/alljoyn-ios/core/alljoyn/alljoyn_objc/samples/iOS/BasicClient
    export PATH="/Applications/"
    /Applications/ -arch i386 -isysroot /Applications/ -L/Users/pira        


John Sampson February 2016

The link below gives instructions instructions on how to make sure OpenSSL is available to Xcode by setting the OPENSSL_ROOT environment variable. It is in the 'Obtaining OpenSSL' section:

Post Status

Asked in February 2016
Viewed 1,916 times
Voted 10
Answered 1 times


Leave an answer