How to include two static libraries that are almost the same for iOS -
i have 1 static library testing , 1 release. debugging static lib has calls aren't available in release version. in code use preprocessor macro guard around calls available in testing static lib.
how include both libs in project , make 1 of them linked during linking process depending on build doing?
note: don't have access code static library can't make changes. have access client code making use of lib.
in target build settings
, under linking
, other link flags
- can include debugging library in debug
, , real 1 in release
(deployment, etc). first remove link binary libraries
under build phases
.
Comments
Post a Comment