Fix compile warnings on iOS.

 * fix variable types
 * fix compiler directive comments
 * fix build architectures
 * fix NSString format syntax
Update project to show library target correctly.
Merge pull request #1 from silverorange/ios-warning-fixes

Ios warning fixes