rules_apple icon indicating copy to clipboard operation
rules_apple copied to clipboard

ios_static_framework expose header files from another folder and keep the same structure as original path

Open weinixuehao opened this issue 5 years ago • 4 comments

Similar to include["."] or copts = ["-I."] when expose header files with hdrs. but ios_static_framework has not include and copts. so how to change the include path from current path to another path?

why ios_static_framework did not support this function as following image image

weinixuehao avatar Jun 30 '20 03:06 weinixuehao

Dealing with this exact same issue when trying to build external dependencies

tinder-maxwellelliott avatar Aug 21 '20 03:08 tinder-maxwellelliott

I think this is the convention for Apple frameworks--headers are flattened into the Headers and PrivateHeaders directories in the final framework.

thii avatar Aug 21 '20 04:08 thii

@thii You mean that the `PrivateHeaders do not suggest to expose to caller?

weinixuehao avatar Aug 24 '20 02:08 weinixuehao

Oops, I think I was misunderstanding your issue. ios_static_framework does not support bundling private headers.

thii avatar Aug 25 '20 01:08 thii