ios - Embedding third-party framework in both app and my custom framework targets -
in xcode project have framework target, need ship other developers. have app target depends on framework target. both app target , framework target should use same third-party framework. added framework both targets. when run app, see lot of warnings in console this:
class <classname> implemented in both <path framework> , <path app>. 1 of 2 used. 1 undefined.
i realized warnings disappear when remove -objc linker flag. flag required frameworks use.
so questions is:
how can avoid such warnings?
should embed third-party framework inside framework? (as know not choise)
what want implement: how can build framework other developers can download third-party framework independently framework still can use it?
Comments
Post a Comment