add swift mode package