Fixed iOS framework compilation warnings

**WIP**