Skip to content

Commit 0784d59

Browse files
Merge pull request livecode#7258 from livecodepanos/bugfix-22545
Don't throw if no mapping between sim_version and sdk_version is found
2 parents da4d520 + 5a8082b commit 0784d59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ide-support/revdeploylibraryios.livecodescript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private function revIDEDeployIOSGetSimulatorVersionFromSDKVersion pSDkVersion
118118
end if
119119
end repeat
120120

121-
throw "No Simulator found for iOS SDK:" && pSDkVersion
121+
return pSDkVersion
122122
end revIDEDeployIOSGetSimulatorVersionFromSDKVersion
123123

124124
private function revIDEDeployIOSGetSDKVersionFromSimulatorVersion pSimVersion
@@ -132,7 +132,7 @@ private function revIDEDeployIOSGetSDKVersionFromSimulatorVersion pSimVersion
132132
end if
133133
end repeat
134134

135-
throw "No SDK found for iOS Simulator:" && pSimVersion
135+
return pSimVersion
136136
end revIDEDeployIOSGetSDKVersionFromSimulatorVersion
137137

138138

0 commit comments

Comments
 (0)