add swift dependency