Fix several issues within build script when compiling for iOS

* Introduce platforms.hpp.in cmake template file

* Compile & link with external dependencies provided from project's
third-party/ios dir.

* Install the built app bundle to iPhoneSimulator.

* Add src/platforms.hpp to gitignore filter
TODO.md: Add a couple new items