make sure that you set Generate Debug Symbols to NO in your build settings. This can reduce the size of your static library by about 30%.
In your target‘s build settings look for ‘Optimization Level‘. By switching that to ‘Fastest, Smallest -Os‘ you‘ll permit the compiler to sacrifice some speed for size.