Cocoapods: cannot use s.library = 'libz'

Created on 6 Mar 2015  路  2Comments  路  Source: CocoaPods/CocoaPods

I'm trying to link against libz.dylib.

Podfile:

s.library = 'libz'

During linting:

   - ERROR | [iOS] [libraries] Libraries should omit the `lib` prefix  (`libz`)

libz.dylib will trigger another error.

Most helpful comment

As the error message stated, remove the lib prefix.

spec.library = 'z'

All 2 comments

As the error message stated, remove the lib prefix.

spec.library = 'z'

@kylef
is work for me, thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

steffendsommer picture steffendsommer  路  3Comments

soleares picture soleares  路  3Comments

hmistry picture hmistry  路  3Comments

pallaviMN picture pallaviMN  路  3Comments

lzwjava picture lzwjava  路  3Comments