Fixed iOS sample build.
Simplified sample