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

evermeer picture evermeer  路  3Comments

spencerkohan picture spencerkohan  路  3Comments

gerchicov-bp picture gerchicov-bp  路  3Comments

pronebird picture pronebird  路  3Comments

dawnnnnn picture dawnnnnn  路  3Comments