Created by: robbertvanginkel
This is is a work in progress, and based on #839. The goal is to make it easy to switch between statically linked apple_libraries or packaging them as frameworks.
This mostly works, but there are some parts that need to be updated. I'll put some comments in line and we can discuss the approach.