[CI] Added build script for iOS.
[CI] Added build script for OSX.