We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a73f48 commit 643f423Copy full SHA for 643f423
plugins/plugin_compile/project_compile.py
@@ -545,7 +545,7 @@ def build_android(self):
545
def check_ios_mac_build_depends(self):
546
version = cocos.get_xcode_version()
547
548
- if version <= '5':
+ if cocos.version_compare(version, "<=", 5):
549
message = MultiLanguage.get_string('COMPILE_ERROR_UPDATE_XCODE')
550
raise cocos.CCPluginError(message, cocos.CCPluginError.ERROR_TOOLS_NOT_FOUND)
551
0 commit comments