diff --git a/Users/unity/Documents/GitHub/EngineBuildTool/engine/src/build/mac/find_sdk.py b/Users/unity/Desktop/find_sdk.py index 0534766..e503ced 100755 --- a/Users/unity/Documents/GitHub/EngineBuildTool/engine/src/build/mac/find_sdk.py +++ b/Users/unity/Desktop/find_sdk.py @@ -55,7 +55,7 @@ def main(): sdk_dir = xcode43_sdk_path else: sdk_dir = os.path.join(out.rstrip(), 'SDKs') - sdks = [re.findall('^MacOSX(10\.\d+)\.sdk$', s) for s in os.listdir(sdk_dir)] + sdks = [re.findall('^MacOSX(11\.\d+)\.sdk$', s) for s in os.listdir(sdk_dir)] sdks = [s[0] for s in sdks if s] # [['10.5'], ['10.6']] => ['10.5', '10.6'] sdks = [s for s in sdks # ['10.5', '10.6'] => ['10.6'] if parse_version(s) >= parse_version(min_sdk_version)]