Skip to content

Commit 907e3ce

Browse files
committed
Use python3 from Xcode's DEVELOPER_DIR
1 parent 3dc3462 commit 907e3ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apple/internal/resource_actions/app_intents.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ temporary_actionsdata_file={output_dir}/extract_sorted.actionsdata
120120
# Set write permission to allow rewrite extract.actionsdata
121121
chmod -R +w {output_dir}
122122
# Write extract.actionsdata with sorted keys
123-
/usr/bin/python3 -m json.tool --compact --sort-keys "$original_actionsdata_file" > "$temporary_actionsdata_file"
123+
"$DEVELOPER_DIR/usr/bin/python3" -m json.tool --compact --sort-keys "$original_actionsdata_file" > "$temporary_actionsdata_file"
124124
# Remove the original unsorted extract.actionsdata file
125125
rm "$original_actionsdata_file"
126126
# Rename the sorted file to the original name

0 commit comments

Comments
 (0)