Swift 2 / iOS 9 - libz.dylib not found

前端 未结 8 1160
小蘑菇
小蘑菇 2020-12-04 10:49

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.

8条回答
  •  無奈伤痛
    2020-12-04 11:35

    I have this problem in objective-c project.ios9.1,xcode7.1

    1.Go to Target> Build Phases >Link Binary with Librairies > +

    2.select libz.tbd and add it

    It worked for me

提交回复
热议问题