Skip to content

Commit 61b4309

Browse files
committed
部分macos系统下没有/usr/bin/python导致编译失败
1 parent 22f86f8 commit 61b4309

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
@@ -1543,8 +1543,8 @@
15431543
outputPaths = (
15441544
);
15451545
runOnlyForDeploymentPostprocessing = 0;
1546-
shellPath = "/usr/bin/python ./umbrellaHeaderFileCreator.py";
1547-
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n";
1546+
shellPath = /bin/bash;
1547+
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";
15481548
};
15491549
/* End PBXShellScriptBuildPhase section */
15501550

0 commit comments

Comments
 (0)