I've been trying to build GDAL for iOS for a while. Using the MikL shell script from this thread, I managed to start the building process, but it always gives me the same error:
In file included from hugefileresolver.cpp:57:
/usr/include/sqlite3.h:4493: error: expected initializer before'__AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_5_0'
make[3]: *** [../o/hugefileresolver.lo] Error 1
make[2]: *** [gml-target] Error 2
make[1]: *** [sublibs] Error 2
make: *** [ogr-target] Error 2
I've been trying to figure this out for weeks now, so any advice would be appreciated.