toolchain: fix iphonesim detection. Closes #116

This commit is contained in:
Mathieu Virbel 2015-02-11 16:28:18 +01:00
parent 3a2935f106
commit b2a922f453

View file

@ -272,7 +272,7 @@ class Context(object):
# get the latest iphonesimulator version # get the latest iphonesimulator version
iphonesim = [x for x in sdks if "iphonesimulator" in x] iphonesim = [x for x in sdks if "iphonesimulator" in x]
if not iphoneos: if not iphonesim:
ok = False ok = False
print("Error: No iphonesimulator SDK installed") print("Error: No iphonesimulator SDK installed")
else: else: