File tree 1 file changed +2
-2
lines changed
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
18
18
exit 0
19
19
else
20
20
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} )
22
22
if [ ! " ${INSTABUG_APP_VERSION_CODE} " ] || [ -z " ${INSTABUG_APP_VERSION_CODE} " ]; then
23
23
echo " CFBundleVersion could not be found, please upload the sourcemap files manually"
24
24
exit 0
33
33
fi
34
34
fi
35
35
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} )
37
37
if [ ! " ${INSTABUG_APP_VERSION_NAME} " ] || [ -z " ${INSTABUG_APP_VERSION_NAME} " ]; then
38
38
echo " CFBundleShortVersionString could not be found, please upload the sourcemap files manually"
39
39
exit 0
You can’t perform that action at this time.
0 commit comments