New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not symlink headers that belong to test specs #7762
Do not symlink headers that belong to test specs #7762
Conversation
dnkoutso
commented
May 21, 2018
•
edited
edited
- make sure there is an integration spec for test specs, there might be one already but I want to double check
Talked offline, need to remove from private folder too and rely on header maps instead to make the "magic" work. /cc @paulb777 if you have any suggestions about this. |
relying on header maps slightly scares me...but its a high cost to move the test headers under different folders etc. |
eea4b5e
to
053c916
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CHANGELOG
coconut_test_spec = coconut_spec.test_specs.first | ||
coconut_pod_target = fixture_pod_target_with_specs([coconut_spec, coconut_test_spec], false) | ||
public_headers_root = config.sandbox.public_headers.root | ||
private_headers_root = @pod_target.build_headers.root |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whoops this should coconut_pod_target
still worked though cause its the same path.
82c06c3
to
12e13ff
Compare
12e13ff
to
ca6e928
Compare
p.s this change only affects static libs and test specs. |
There is an integration spec but does not have headers...will update that first before merging this. |
Actually this is OK to land. Test xcconfigs still receive the header search paths for their library anyway. This continues to work as expected and removes the symlinks from test specs. Makes it even better because other libraries cannot accidentally import these headers! |