inherit! :search_paths broken in 1.0.0.beta.4 for abstract targets #4943
Labels
d2:moderate
A moderately-difficult ticket that may require a bit of knowledge about the codebase
s4:awaiting validation
A Pull Request that is waiting for validation by a CocoaPods Core Team member
t2:defect
These are known bugs. The issue should also contain steps to reproduce. PRs welcome!
Report
Previous to this release, you could could use
inherit! :search_paths
in an abstract_target, and all of its child targets (at least immediately children) would inherit the search paths of the abstract_target's parent. This is useful when you have multiple test targets that share common testing pods and need to inherit search paths from the app under test.What did you do?
Attempt to build and run the tests in this project, wherein one of the tests imports a header from a pod included for the app.
What did you expected to happen?
The tests would build and run.
What happened instead?
The test bundle failed to compile because it could not find the pod's header.
Podfile
I have a sample xcode project coming soon to Github. I'll comment on this issue as soon as it's posted.
The text was updated successfully, but these errors were encountered: