1

Hi I am trying to run Alljoyn ios chat sample with Xcode 7 and IOS-9 but facing following errors :

    ld: warning: directory not found for option '-L/build/Debug-iphoneos'
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: cannot parse the debug map for 
"/Users/myUserName/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos/AllChatz.app/AllChatz":
No such file or directory

I have disable bitcode settings from project and target but not finding any way to solve this issue. is there any any solution? or any alternative to this how can i run this demo successfully.

Krishna Verma
  • 814
  • 2
  • 8
  • 23

2 Answers2

2

Switch ENABLE_BITCODE to NO in build settings helped me

0

You need to add openSSL libcrypto.a and libssl.a static library.

You can get it from source with this build script: https://github.com/x2on/OpenSSL-for-iPhone

Sunny Shah
  • 12,990
  • 9
  • 50
  • 86