1

Code samples build error for iOS

asked 2015-05-28 13:59:38 -0700

pkan gravatar image

I followed all the steps listed at Building iOS/OSX

I am getting the below error:

    Undefined symbols for architecture armv7:
      "_AES_ctr128_encrypt", referenced from:
      qcc::Crypto_AES::Encrypt_CCM(void const*, void*, unsigned long&, qcc::KeyBlob const&, void const*, unsigned long, unsigned char) in liballjoyn.a(CryptoAES.o)
      qcc::Crypto_AES::Decrypt_CCM(void const*, void*, unsigned long&, qcc::KeyBlob const&, void const*, unsigned long, unsigned char) in liballjoyn.a(CryptoAES.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have tried to build for simulator and the actual device, but I still get the same error. I get the same error when I try to build any of the samples.

edit retag flag offensive close merge delete

Comments

the core working group is looking for people to maintain iOS/OSX bindings, SDKs, and documentation, if you're interested in helping.

ry.jones ( 2015-06-18 11:53:22 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-06-04 01:34:04 -0700

dvs gravatar image

Looks like OPENSSL not installed properly.

Check this in Terminal "launchctl getenv OPENSSL_ROOT" if it return right path.

edit flag offensive delete publish link more

Comments

Thanks for the response. I got this working with the same instructions on the website for the 14.0.6 version, when I follow the same instructions for 14.12 or 15.0 I get that error and I have done this on a couple of different computers as well. On both of them it works for 14.0.6.

pkan ( 2015-06-04 14:18:33 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-05-28 13:59:38 -0700

Seen: 75 times

Last updated: Jun 04 '15