I have a workspace with one main project, pods and 2 other subprojects.
Those subprojects are not meant to be run independently, they are built into frameworks and linked to main target.
One of subprojects (let's call it SubA) has a dependency, that I added to main podfile.
But since cocoapods 1.0.0 came out, I cannot build SubA, it does not see that imported pod. It gives error on import No such module ....
Before 1.0.0 everything worked out of box. And I cannot make it a subpod, because it depends on another subproject, SubA, so keeping in sync all these would be a hassle.
Adding ${BUILT_PRODUCTS_DIR} recursive to FRAMEWORK_SEARCH_PATHS of sub-project solved the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With