Fixed an issue when attempting to add a framework to a target whos sdk was 'iphonesimulator', now only checks for iphone in determining sdk type