ios fat library refactoring