fix swift library dependency
Merge pull request #826 from LipuFei/fix_swift_next

fix swift library dependency