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 f4513b6 commit 1efba5eCopy full SHA for 1efba5e
plugins/plugin_run/project_run.py
@@ -121,11 +121,11 @@ def _get_simulator_id(self):
121
# get the matched data
122
typeNum = int(match.group(2))
123
tmpType = match.group(1)
124
- tmpIOSVer = int(match.group(3).replace('.', ''))
+ tmpIOSVer = match.group(3)
125
126
if ((typeNum > phoneTypeNum) or
127
(typeNum == phoneTypeNum and tmpType > phoneType) or
128
- (typeNum == phoneTypeNum and tmpType == phoneType and tmpIOSVer > iosVer)):
+ (typeNum == phoneTypeNum and tmpType == phoneType and cocos.version_compare(tmpIOSVer, '>', iosVer))):
129
# find the max phone type number first
130
ret = id
131
retName = name.strip()
0 commit comments