ld: library not found for -lz.1.2.3

前端 未结 1 1649
后悔当初
后悔当初 2021-02-05 04:20

When trying to compile the software for iOS 5, XCode 4.2 throws an error:

ld: library not found for -lz.1.2.3

I found this post that tells me t

1条回答
  •  [愿得一人]
    2021-02-05 04:47

    Just use -lz, there's no need to use the versioned link to it. So remove libz-1.2.5.dylib from frameworks and add libz.dylib.

    0 讨论(0)
提交回复
热议问题