Configure for iOS and build with XCode.

This is still very inflexible and untested but it seems to work in the naive
case. Still needs a way of getting its dependencies (openssl and libz). Probably
requires creating more cocoapods.