Swift framework vs static library