I'm getting the data from this store_information_json.json file to change the app name, bundle id. but i can't able to change the bundle id , is it any way to change it
CONFIG_FILE="${SRCROOT}/store_information_json.json" APP_NAME=$(/usr/bin/jq -r '.app_name' "$CONFIG_FILE")
PLIST_PATH="${PROJECT_DIR}/${INFOPLIST_FILE}"
✅ Ensure CFBundleDisplayName exists before setting it
if /usr/libexec/PlistBuddy -c "Print :CFBundleDisplayName" "$PLIST_PATH" >/dev/null 2>&1; then /usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName $APP_NAME" "$PLIST_PATH" else /usr/libexec/PlistBuddy -c "Add :CFBundleDisplayName string $APP_NAME" "$PLIST_PATH" fi
it changes the app name How to change the bundle id