Created by: robbertvanginkel
I don't know where the Contents
and MacOs
folders originally came from, that commit (d44f10e6) doesn't contain a lot of background. I think those folders are wrong for the following reasons:
- They do not conform to the apple docs
- Checking a random library on my mac also doesn't show them.
$ tree -L 3 /Library/Frameworks/iTunesLibrary.framework
/Library/Frameworks/iTunesLibrary.framework
├── Headers -> Versions/Current/Headers
├── Modules -> Versions/Current/Modules
├── Resources -> Versions/Current/Resources
├── Versions
│ ├── A
│ │ ├── Headers
│ │ └── iTunesLibrary
│ └── Current -> A
└── iTunesLibrary -> Versions/Current/iTunesLibrary
- When using a framework generated from an
apple_library
(I know this doesn't fully work but I'm working on a PR to fix that), clang complains during linking/preprocessing (with-F
and-framework
) that it cannot find the framework. When I changed the binaries and headers to not be in the contents and MacOS paths everything works.