How to add third party libraries properly in iOS