File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 60
60
version=1.0.4
61
61
buildNumber=$( date -u " +%Y%m%d%H%M" )
62
62
63
- /usr/libexec/PlistBuddy -c " Set :CFBundleVersion $buildNumber " ./ios/App/App/Info.plist
64
- /usr/libexec/PlistBuddy -c " Set :CFBundleShortVersionString $version " ./ios/App/App/Info.plist
65
- /usr/libexec/PlistBuddy -c " Set :CFBundleURLTypes:0:CFBundleURLSchemes:0 $VITE_APP_ID " ./ios/App/App/Info.plist
66
- /usr/libexec/PlistBuddy -c " Set :CFBundleURLTypes:0:CFBundleURLName $VITE_APP_ID " ./ios/App/App/Info.plist
63
+ if test -f /usr/libexec/PlistBuddy; then
64
+ echo " \nIOS: Configuring Info.plist settings"
65
+ /usr/libexec/PlistBuddy -c " Set :CFBundleVersion $buildNumber " ./ios/App/App/Info.plist
66
+ /usr/libexec/PlistBuddy -c " Set :CFBundleShortVersionString $version " ./ios/App/App/Info.plist
67
+ /usr/libexec/PlistBuddy -c " Set :CFBundleURLTypes:0:CFBundleURLSchemes:0 $VITE_APP_ID " ./ios/App/App/Info.plist
68
+ /usr/libexec/PlistBuddy -c " Set :CFBundleURLTypes:0:CFBundleURLName $VITE_APP_ID " ./ios/App/App/Info.plist
69
+ fi
You can’t perform that action at this time.
0 commit comments