Skip to content

Commit 7bf96af

Browse files
author
minggo
authored
fix crash when compiling ios (#423)
1 parent 8d5577e commit 7bf96af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/plugin_run/project_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def _get_simulator_id(self):
121121
# get the matched data
122122
typeNum = int(match.group(2))
123123
tmpType = match.group(1)
124-
tmpIOSVer = float(match.group(3))
124+
tmpIOSVer = int(match.group(3).replace('.', ''))
125125

126126
if ((typeNum > phoneTypeNum) or
127127
(typeNum == phoneTypeNum and tmpType > phoneType) or

0 commit comments

Comments
 (0)