My question is, I don't know what really happens after I use the link_with
in my Podfile so I don't know when and where to use it.I have read the guide but the description is to brief to know the meaning of link_with
.
After my test, I know that if I use link_with
without target
in my Podfile the default Pods library libPods.a will be linked to the targets quoted by the link_with
.But if there is target
in the Podfile the link_with
looks like making no use any more.
Besides this, the official guide don't mention where to write the link_with
,so when I saw link_with 'Dummy'
in the target
block I was very confused.
Can anybody explain when and where to write the link_with
and the reason using the link_with 'Dummy'
?(I just know that it is used to solve duplicated symbols in the library)