Update doc/iphone and fix build on iOS