diff --git a/extensions/python/qrgen/__pycache__/qrgen.cpython-38.pyc b/extensions/python/qrgen/__pycache__/qrgen.cpython-38.pyc new file mode 100644 index 0000000..f2cbd9f Binary files /dev/null and b/extensions/python/qrgen/__pycache__/qrgen.cpython-38.pyc differ diff --git a/helper/xcode-ci-archive.sh b/helper/xcode-ci-archive.sh index 21b7531..eff4980 100644 --- a/helper/xcode-ci-archive.sh +++ b/helper/xcode-ci-archive.sh @@ -12,7 +12,7 @@ n=$(tput sgr0) deploy_config_path="$(pwd)/.ci/deploy_config.json" process_path="$(pwd)/.ci/process.json" helper_path=$(dirname "$0") -process_value_cmd="python ${helper_path}/py_jsonvalue.py -p ${process_path}" +process_value_cmd="python3 ${helper_path}/py_jsonvalue.py -p ${process_path}" archive_file_path="${archive_path}/${archive_scheme}.xcarchive" merge_args_cmd="sh ${helper_path}/xcode-ci-merge-args.sh" diff --git a/helper/xcode-ci-build.sh b/helper/xcode-ci-build.sh index 9a74745..25e6c72 100755 --- a/helper/xcode-ci-build.sh +++ b/helper/xcode-ci-build.sh @@ -6,7 +6,7 @@ project_file_path="$1" deploy_config_path="$(pwd)/.ci/deploy_config.json" process_path="$(pwd)/.ci/process.json" helper_path=$(dirname "$0") -process_value_cmd="python ${helper_path}/py_jsonvalue.py -p ${process_path}" +process_value_cmd="python3 ${helper_path}/py_jsonvalue.py -p ${process_path}" project_dir=$(jq ".project_path" ${deploy_config_path} | tr -d \") product_des_input=$(jq ".build_path" ${deploy_config_path} | tr -d \") @@ -154,7 +154,7 @@ function export_derived_data_path() { # echo "execute settings cmd >>> $settings_cmd" eval $settings_cmd - derived_build_dir=$(python ${helper_path}/py_file_get_value.py -p .ci/build_dirs.log -k TARGET_BUILD_DIR) + derived_build_dir=$(python3 ${helper_path}/py_file_get_value.py -p .ci/build_dirs.log -k TARGET_BUILD_DIR) derived_test_dir="$derived_build_dir/../../ProfileData" } diff --git a/helper/xcode-ci-export.sh b/helper/xcode-ci-export.sh index 292321c..b624575 100644 --- a/helper/xcode-ci-export.sh +++ b/helper/xcode-ci-export.sh @@ -12,7 +12,7 @@ deploy_config_path="$(pwd)/.ci/deploy_config.json" export_config_path="$(pwd)/.ci/export_config.plist" process_path="$(pwd)/.ci/process.json" helper_path=$(dirname "$0") -process_value_cmd="python ${helper_path}/py_jsonvalue.py -p ${process_path}" +process_value_cmd="python3 ${helper_path}/py_jsonvalue.py -p ${process_path}" merge_args_cmd="sh ${helper_path}/xcode-ci-merge-args.sh" remain_value='' diff --git a/helper/xcode-ci-merge-args.sh b/helper/xcode-ci-merge-args.sh index 5ed7c92..c03ee02 100644 --- a/helper/xcode-ci-merge-args.sh +++ b/helper/xcode-ci-merge-args.sh @@ -112,5 +112,5 @@ do ci_cmd_args+=";${var}" fi done -args=$(python ${helper_path}/py_merge_args.py -a "${ci_cmd_args}") +args=$(python3 ${helper_path}/py_merge_args.py -a "${ci_cmd_args}") echo $args \ No newline at end of file diff --git a/xcode-ci b/xcode-ci index 41a86fe..2e13cdf 100755 --- a/xcode-ci +++ b/xcode-ci @@ -1,7 +1,7 @@ #!/usr/bin/env bash # created by TungNQ -version="1.1.15" +version="1.1.16" if [ "$1" == "__test_cmd" ]; then echo "ok" @@ -81,8 +81,8 @@ done # define processes process_path="${deploy_path}/process.json" touch ${process_path} -python ${helper_path}/py_jsoncreate.py -v "${ci_cmd_args}" -p ${process_path} -process_value_cmd="python ${helper_path}/py_jsonvalue.py -p ${process_path} " +python3 ${helper_path}/py_jsoncreate.py -v "${ci_cmd_args}" -p ${process_path} +process_value_cmd="python3 ${helper_path}/py_jsonvalue.py -p ${process_path} " destroy() { @@ -120,7 +120,7 @@ if [ "${is_build}" == "1" ] || [ "${is_test}" == "1" ]; then ${build_cmd} # Get derived data path - derived_build_dir=$(python ${helper_path}/py_file_get_value.py -p .ci/build_dirs.log -k BUILD_DIR) + derived_build_dir=$(python3 ${helper_path}/py_file_get_value.py -p .ci/build_dirs.log -k BUILD_DIR) rm -rf .ci/build_dirs.log # Run Post Build/Test job