message: The most recent build of libsovtoken only has the universal libsovtoken.a file and so we need to extract it now
diff: @@ -65,12 +65,23 @@ do
  target_arch="x86_64"
  fi
  - if [ -d $WORK_DIR/libindy/${target_arch} ]; then
  - echo "${target_arch} libindy architecture already extracted"
  - else
  libtool="/usr/bin/libtool"
  + libsovtoken_dir="${WORK_DIR}/libsovtoken-ios/libsovtoken"
  libindy_dir="${WORK_DIR}/libindy"
  - mkdir ${WORK_DIR}/libindy/${target_arch}
  +
  + if [ -d ${libsovtoken_dir}/${target_arch} ]; then
  + echo "${target_arch} libsovtoken architecture already extracted"
  + else
  + mkdir -p ${libsovtoken_dir}/${target_arch}
  + lipo -extract $target_arch ${libsovtoken_dir}/universal/libsovtoken.a -o ${libsovtoken_dir}/${target_arch}/libsovtoken.a
  + ${libtool} -static ${libsovtoken_dir}/${target_arch}/libsovtoken.a -o ${libsovtoken_dir}/${target_arch}/libsovtoken_libtool.a
  + mv ${libsovtoken_dir}/${target_arch}/libsovtoken_libtool.a ${libsovtoken_dir}/${target_arch}/libsovtoken.a
  + fi
  +
  + if [ -d ${libindy_dir}/${target_arch} ]; then
  + echo "${target_arch} libindy architecture already extracted"
  + else
  + mkdir -p ${libindy_dir}/${target_arch}
  lipo -extract $target_arch ${libindy_dir}/libindy.a -o ${libindy_dir}/${target_arch}/libindy.a
  ${libtool} -static ${libindy_dir}/${target_arch}/libindy.a -o ${libindy_dir}/${target_arch}/libindy_libtool.a
  mv ${libindy_dir}/${target_arch}/libindy_libtool.a ${libindy_dir}/${target_arch}/libindy.a
  @@ -79,9 +90,9 @@ do
  export OPENSSL_LIB_DIR=$WORK_DIR/OpenSSL-for-iPhone/lib/${target_arch}
  export IOS_SODIUM_LIB=$WORK_DIR/libzmq-ios/libsodium-ios/dist/ios/lib/${target_arch}
  export IOS_ZMQ_LIB=$WORK_DIR/libzmq-ios/dist/ios/lib/${target_arch}
  - export LIBINDY_DIR=$WORK_DIR/libindy/${target_arch}
  + export LIBINDY_DIR=${libindy_dir}/${target_arch}
  #export LIBNULLPAY_DIR=$WORK_DIR/vcx-indy-sdk/libnullpay/target/${target}/release
  - export LIBSOVTOKEN_DIR=$WORK_DIR/libsovtoken-ios/libsovtoken/${target}
  + export LIBSOVTOKEN_DIR=${libsovtoken_dir}/${target_arch}
  # To build for macos
  #cargo build
  