iOS framework build script changes

- buildbot process support (break build in case of errors)
- disabled some warnings in cmake script
Fixed iOS framework compilation warnings
iOS framework build script changes from master branch
Merge pull request #3294 from mshabunin:fix-ios-warnings-24