cocoapods-packager icon indicating copy to clipboard operation
cocoapods-packager copied to clipboard

compile a dymamic framework with static vendors_libraries get link error

Open nealsun opened this issue 6 years ago • 1 comments

I package my pod which have dependent two static libraries, it specificed with vendored_libraries, it work fine when I package with --library, but failed with '--dynamic', I got this error:

ld: library not found for -lGDTMobSDK
clang: error: linker command failed with exit code 1 (use -v to see invocation)

and it successfully compiled in my pod example project.

nealsun avatar Dec 01 '17 07:12 nealsun

I've got the same error when package a dynamic framework

euanchan avatar Apr 11 '18 11:04 euanchan