File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ if [ ! "${INSTABUG_APP_TOKEN}" ] || [ -z "${INSTABUG_APP_TOKEN}" ]; then
1818 exit 0
1919else
2020 if [ ! " ${INSTABUG_APP_VERSION_CODE} " ] || [ -z " ${INSTABUG_APP_VERSION_CODE} " ]; then
21- INSTABUG_APP_VERSION_CODE=$( defaults read ${PRODUCT_SETTINGS_PATH} CFBundleVersion )
21+ INSTABUG_APP_VERSION_CODE=$( /usr/libexec/PlistBuddy -c ' print CFBundleVersion ' ${PRODUCT_SETTINGS_PATH} )
2222 if [ ! " ${INSTABUG_APP_VERSION_CODE} " ] || [ -z " ${INSTABUG_APP_VERSION_CODE} " ]; then
2323 echo " CFBundleVersion could not be found, please upload the sourcemap files manually"
2424 exit 0
3333 fi
3434 fi
3535 if [ ! " ${INSTABUG_APP_VERSION_NAME} " ] || [ -z " ${INSTABUG_APP_VERSION_NAME} " ]; then
36- INSTABUG_APP_VERSION_NAME=$( defaults read ${PRODUCT_SETTINGS_PATH} CFBundleShortVersionString )
36+ INSTABUG_APP_VERSION_NAME=$( /usr/libexec/PlistBuddy -c ' print CFBundleShortVersionString ' ${PRODUCT_SETTINGS_PATH} )
3737 if [ ! " ${INSTABUG_APP_VERSION_NAME} " ] || [ -z " ${INSTABUG_APP_VERSION_NAME} " ]; then
3838 echo " CFBundleShortVersionString could not be found, please upload the sourcemap files manually"
3939 exit 0
You can’t perform that action at this time.
0 commit comments