Changes I needed to make to build iOS .framework