Add package install support to swift

Change-Id: I4034e1a19306547a78265c8ecbc9a52fd83ced8c