use xcode version to determine ios sdk
so we can get rid of --ios-sdk flag in reset.sh