{"action":"created","issue":{"url":"https://api.github.com/repos/WhisperSystems/Signal-iOS/issues/1166","repository_url":"https://api.github.com/repos/WhisperSystems/Signal-iOS","labels_url":"https://api.github.com/repos/WhisperSystems/Signal-iOS/issues/1166/labels{/name}","comments_url":"https://api.github.com/repos/WhisperSystems/Signal-iOS/issues/1166/comments","events_url":"https://api.github.com/repos/WhisperSystems/Signal-iOS/issues/1166/events","html_url":"https://github.com/WhisperSystems/Signal-iOS/issues/1166","id":152751422,"number":1166,"title":"OpenSSL installation failed","user":{"login":"loki187","id":8397730,"avatar_url":"https://avatars.githubusercontent.com/u/8397730?v=3","gravatar_id":"","url":"https://api.github.com/users/loki187","html_url":"https://github.com/loki187","followers_url":"https://api.github.com/users/loki187/followers","following_url":"https://api.github.com/users/loki187/following{/other_user}","gists_url":"https://api.github.com/users/loki187/gists{/gist_id}","starred_url":"https://api.github.com/users/loki187/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loki187/subscriptions","organizations_url":"https://api.github.com/users/loki187/orgs","repos_url":"https://api.github.com/users/loki187/repos","events_url":"https://api.github.com/users/loki187/events{/privacy}","received_events_url":"https://api.github.com/users/loki187/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-03T11:23:09Z","updated_at":"2016-05-03T12:57:09Z","closed_at":null,"body":"Hi,\r\n\r\nWhen I want install pods, I get following error by installation of OpenSSL.\r\nHow can I install OpenSSL pod ?\r\n\r\n> [!] /bin/bash -c \r\n> set -e\r\n> VERSION=\"1.0.2g\"\r\n> SDKVERSION=`xcrun --sdk iphoneos --show-sdk-version 2> /dev/null`\r\n> MIN_SDK_VERSION_FLAG=\"-miphoneos-version-min=7.0\"\r\n> \r\n> BASEPATH=\"${PWD}\"\r\n> CURRENTPATH=\"/tmp/openssl\"\r\n> ARCHS=\"i386 x86_64 armv7 armv7s arm64\"\r\n> DEVELOPER=`xcode-select -print-path`\r\n> \r\n> mkdir -p \"${CURRENTPATH}\"\r\n> mkdir -p \"${CURRENTPATH}/bin\"\r\n> \r\n> cp \"file.tgz\" \"${CURRENTPATH}/file.tgz\"\r\n> cd \"${CURRENTPATH}\"\r\n> tar -xzf file.tgz\r\n> cd \"openssl-${VERSION}\"\r\n> \r\n> for ARCH in ${ARCHS}\r\n> do\r\n>   CONFIGURE_FOR=\"iphoneos-cross\"\r\n> \r\n>   if [ \"${ARCH}\" == \"i386\" ] || [ \"${ARCH}\" == \"x86_64\" ] ;\r\n>   then\r\n>     PLATFORM=\"iPhoneSimulator\"\r\n>     if [ \"${ARCH}\" == \"x86_64\" ] ;\r\n>     then\r\n>       CONFIGURE_FOR=\"darwin64-x86_64-cc\"\r\n>     fi\r\n>   else\r\n>     sed -ie \"s!static volatile sig_atomic_t intr_signal;!static volatile intr_signal;!\" \"crypto/ui/ui_openssl.c\"\r\n>     PLATFORM=\"iPhoneOS\"\r\n>   fi\r\n> \r\n>   export CROSS_TOP=\"${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer\"\r\n>   export CROSS_SDK=\"${PLATFORM}${SDKVERSION}.sdk\"\r\n> \r\n>   echo \"Building openssl-${VERSION} for ${PLATFORM} ${SDKVERSION} ${ARCH}\"\r\n>   echo \"Please stand by...\"\r\n> \r\n>   export CC=\"${DEVELOPER}/usr/bin/gcc -arch ${ARCH} ${MIN_SDK_VERSION_FLAG}\"\r\n>   mkdir -p \"${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk\"\r\n>   LOG=\"${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk/build-openssl-${VERSION}.log\"\r\n> \r\n>   LIPO_LIBSSL=\"${LIPO_LIBSSL} ${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk/lib/libssl.a\"\r\n>   LIPO_LIBCRYPTO=\"${LIPO_LIBCRYPTO} ${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk/lib/libcrypto.a\"\r\n> \r\n>   ./Configure ${CONFIGURE_FOR} --openssldir=\"${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk\" > \"${LOG}\" 2>&1\r\n>   sed -ie \"s!^CFLAG=!CFLAG=-isysroot ${CROSS_TOP}/SDKs/${CROSS_SDK} !\" \"Makefile\"\r\n> \r\n>   make >> \"${LOG}\" 2>&1\r\n>   make all install_sw >> \"${LOG}\" 2>&1\r\n>   make clean >> \"${LOG}\" 2>&1\r\n> done\r\n> \r\n> \r\n> echo \"Build library...\"\r\n> rm -rf \"${BASEPATH}/lib/\"\r\n> mkdir -p \"${BASEPATH}/lib/\"\r\n> lipo -create ${LIPO_LIBSSL}    -output \"${BASEPATH}/lib/libssl.a\"\r\n> lipo -create ${LIPO_LIBCRYPTO} -output \"${BASEPATH}/lib/libcrypto.a\"\r\n> \r\n> echo \"Copying headers...\"\r\n> rm -rf \"${BASEPATH}/opensslIncludes/\"\r\n> mkdir -p \"${BASEPATH}/opensslIncludes/\"\r\n> cp -RL \"${CURRENTPATH}/openssl-${VERSION}/include/openssl\" \"${BASEPATH}/opensslIncludes/\"\r\n> \r\n> cd \"${BASEPATH}\"\r\n> echo \"Building done.\"\r\n> \r\n> echo \"Cleaning up...\"\r\n> rm -rf \"${CURRENTPATH}\"\r\n> echo \"Done.\"\r\n> \r\n> Building openssl-1.0.2g for iPhoneSimulator 9.2 i386\r\n> Please stand by...\r\n"},"comment":{"url":"https://api.github.com/repos/WhisperSystems/Signal-iOS/issues/comments/216518636","html_url":"https://github.com/WhisperSystems/Signal-iOS/issues/1166#issuecomment-216518636","issue_url":"https://api.github.com/repos/WhisperSystems/Signal-iOS/issues/1166","id":216518636,"user":{"login":"FredericJacobs","id":400296,"avatar_url":"https://avatars.githubusercontent.com/u/400296?v=3","gravatar_id":"","url":"https://api.github.com/users/FredericJacobs","html_url":"https://github.com/FredericJacobs","followers_url":"https://api.github.com/users/FredericJacobs/followers","following_url":"https://api.github.com/users/FredericJacobs/following{/other_user}","gists_url":"https://api.github.com/users/FredericJacobs/gists{/gist_id}","starred_url":"https://api.github.com/users/FredericJacobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredericJacobs/subscriptions","organizations_url":"https://api.github.com/users/FredericJacobs/orgs","repos_url":"https://api.github.com/users/FredericJacobs/repos","events_url":"https://api.github.com/users/FredericJacobs/events{/privacy}","received_events_url":"https://api.github.com/users/FredericJacobs/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T12:57:09Z","updated_at":"2016-05-03T12:57:09Z","body":"Don't worry about it, I'm well aware. I will update the OpenSSL dependency as soon as the critical update is out."}}