Compile ios runtime before example
Remove unused code from example