AllJoyn sample app Build failed on Xcode -
i want test alljoyn chat app following official step-by-step documentation https://allseenalliance.org/framework/documentation/develop/run-sample-apps/chat/ios-osx first step "build sample" , instructions https://allseenalliance.org/framework/documentation/develop/building/ios-osx goes fine until step: build samples
open each of following sample ios applications in xcode , build them selecting project > build xcode menu.
alljoyn-ios/core/alljoyn/alljoyn_objc/samples/ios/
i opened /users/piran/documents/alljoyn/alljoyn-ios/core/alljoyn/alljoyn_objc/samples/ios/basicclient/basicclient.xcodeproj in xcode , trying product->build fails error ld: warning: directory not found option '-l/build/debug-iphonesimulator' ld: library not found -lssl clang: error: linker command failed exit code 1 (use -v see invocation)
ld /users/piran/library/developer/xcode/deriveddata/basicclient-hawoulujhrgmpnfbxiryzpjkiasq/build/products/debug-iphonesimulator/basicclient.app/basicclient normal i386 cd /users/piran/documents/alljoyn/alljoyn-ios/core/alljoyn/alljoyn_objc/samples/ios/basicclient export iphoneos_deployment_target=6.0 export path="/applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/usr/bin:/applications/xcode.app/contents/developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" /applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/sdks/iphonesimulator9.2.sdk -l/users/piran/library/developer/xcode/deriveddata/basicclient-hawoulujhrgmpnfbxiryzpjkiasq/build/products/debug-iphonesimulator -l/build/debug-iphonesimulator -l/users/piran/documents/alljoyn/alljoyn-ios/core/alljoyn/alljoyn_objc/samples/ios/basicclient/../../../../build/darwin/i386/iphonesimulator/debug/dist/cpp/lib -l/users/piran/documents/alljoyn/alljoyn-ios/core/alljoyn/alljoyn_objc/samples/ios/basicclient/../../../../build/darwin/arm/iphonesimulator/debug/dist/cpp/lib -f/users/piran/library/developer/xcode/deriveddata/basicclient-hawoulujhrgmpnfbxiryzpjkiasq/build/products/debug-iphonesimulator -filelist /users/piran/library/developer/xcode/deriveddata/basicclient-hawoulujhrgmpnfbxiryzpjkiasq/build/intermediates/basicclient.build/debug-iphonesimulator/basicclient.build/objects-normal/i386/basicclient.linkfilelist -mios-simulator-version-min=6.0 -xlinker -objc_abi_version -xlinker 2 -lalljoyn -lajrouter -lbundledrouter.o -lssl -lcrypto -fobjc-arc -fobjc-link-runtime -stdlib=libc++ -framework systemconfiguration -lstdc++.6 -framework uikit -framework foundation -framework coregraphics -xlinker -dependency_info -xlinker /users/piran/library/developer/xcode/deriveddata/basicclient-hawoulujhrgmpnfbxiryzpjkiasq/build/intermediates/basicclient.build/debug-iphonesimulator/basicclient.build/objects-normal/i386/basicclient_dependency_info.dat -o /users/piran/library/developer/xcode/deriveddata/basicclient-hawoulujhrgmpnfbxiryzpjkiasq/build/products/debug-iphonesimulator/basicclient.app/basicclient
this error happens on each sample project build attempt. missing or have additional steps make work?
xcode 7.2.1
osx 10.11.3
the link below gives instructions instructions on how make sure openssl available xcode setting openssl_root environment variable. in 'obtaining openssl' section:
https://allseenalliance.org/framework/documentation/develop/building/ios-osx/build-source
Comments
Post a Comment