title: Setting OpenSSL dependency fail in ios
body: <p>I am trying to run a sample code of Alljoyn, and I follow the tutorial to set my environment in <a href="https://allseenalliance.org/framework/documentation/develop/building/ios-osx" rel="nofollow">this</a>.</p>
  
  <p>When doing this command:</p>
  
  <pre><code>xcodebuild -configuration Release -sdk iphonesimulator
  </code></pre>
  
  <p>It shows this messages and fail:</p>
  
  <ul>
  <li><p>lipo -create '/Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/openssl.build/Release-iphonesimulator/<em>-libcrypto.a' -output /Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/Release-iphonesimulator/libcrypto.a
  lipo: can't open input file: /Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/openssl.build/Release-iphonesimulator/</em>-libcrypto.a (No such file or directory)</p>
  
  <ul>
  <li>lipo -create '/Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/openssl.build/Release-iphonesimulator/<em>-libssl.a' -output /Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/Release-iphonesimulator/libssl.a
  lipo: can't open input file: /Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/openssl.build/Release-iphonesimulator/</em>-libssl.a (No such file or directory)</li>
  <li>echo '***** removing temporary files from /Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/openssl.build/Release-iphonesimulator *****'
  ***** removing temporary files from /Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/openssl.build/Release-iphonesimulator *****</li>
  <li>rm -f '/Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/openssl.build/Release-iphonesimulator/*-libcrypto.a'</li>
  <li>rm -f '/Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/openssl.build/Release-iphonesimulator/*-libssl.a'</li>
  <li>echo '***** executing ranlib on libraries in /Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/Release-iphonesimulator *****'
  ***** executing ranlib on libraries in /Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/Release-iphonesimulator *****</li>
  <li>ranlib /Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/Release-iphonesimulator/libcrypto.a
  ranlib: can't open file: /Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/Release-iphonesimulator/libcrypto.a (No such file or directory)</li>
  <li>ranlib /Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/Release-iphonesimulator/libssl.a
  ranlib: can't open file: /Users/kenny/Desktop/alljoyn-ios/openssl/openssl-xcode/build/Release-iphonesimulator/libssl.a (No such file or directory)</li>
  </ul>
  
  <p>** BUILD FAILED **</p>
  
  <p>The following build commands failed:
      PhaseScriptExecution Run\ Script build/openssl.build/Release-iphonesimulator/crypto.build/Script-9038ACD812DCAC96004FA0D0.sh
  (1 failure)</p></li>
  </ul>
  
  <p>It makes confused that it create the temporary file libssl.a and libcrypto.a and remove it. But then it fail to find it again?</p>
  
  <p>Thanks for your help!</p>