I tried: $ lipo -info libcrypto.a Architectures in the fat file: libcrypto.a are: i386 x86_64 armv7 (cputype (12) cpusubtype (11)) (cputype (16777228) cpusubtype (0)) $ lipo -info libssl.a Architectures in the fat file: libssl.a are: i386 x86_64 armv7 (cputype (12) cpusubtype (11)) (cputype (16777228) cpusubtype (0)) My required architectures are there in the lipo fat files. Now what should I do to make it work with TLS on iPhone and simulator. Even I set following variables too before compiling PJSIP. These I set in order to set the paths of OpenSSL libs as: $export OPENSSL=<Path to my openSSL folder created when openSSL libs built> $export CFLAGS= "-O2 -Wno-unused-label -I${OPENSSL}/include -O2 -m32 -miphoneos-version- min=7.0" $export LDFLAGS="-L${OPENSSL}/lib -O2 -m32 -miphoneos-version-min=7.0" Please suggest and help.