I\'m using some external codes from google in my new Swift 2.0 project that required \"libz.dylib\" in earlier versions. After updating to the new Xcode / the new SDK.
You can add libz.1.dylib from location:/usr/lib/
It worked for me.