Skip to content

Commit 97b019e

Browse files
authored
Merge pull request #1401 from L1l1thLY/master
部分macos系统下没有/usr/bin/python导致编译失败
2 parents 0e7d274 + 0ee53a9 commit 97b019e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qmui.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1576,8 +1576,8 @@
15761576
outputPaths = (
15771577
);
15781578
runOnlyForDeploymentPostprocessing = 0;
1579-
shellPath = "/usr/bin/python3 ./umbrellaHeaderFileCreator.py";
1580-
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n";
1579+
shellPath = /bin/bash;
1580+
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\npy2_path=\"/usr/bin/python\"\n\nif [ -x \"$py2_path\" ]; then \n /usr/bin/python umbrellaHeaderFileCreator.py\nelse\n /usr/bin/python3 umbrellaHeaderFileCreator.py\nfi\n";
15811581
};
15821582
/* End PBXShellScriptBuildPhase section */
15831583

0 commit comments

Comments
 (0)