fix: swift feature detection