##
import os
import platform
-import commands
+import subprocess
from distutils.version import StrictVersion
Import('env')
target_arch = env.get('TARGET_ARCH')
target_os = env.get('TARGET_OS')
-tc_path=commands.getoutput('xcode-select -p')
+tc_path=subprocess.getoutput('xcode-select -p')
-tc_sdks=commands.getoutput('xcodebuild -showsdks')
+tc_sdks=subprocess.getoutput('xcodebuild -showsdks')
#Find the SDK's that are installed
sdks=[]