iOS compile

Create a static lib for iOS