Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Xcode project to build iOS versions of libspatialite, Currently builds libspatialite 3.0.1, GEOS 20120517 and PROJ4.8.0.
C C++
branch: master


This builds sqlite3 with spatial features (ie. positioning, coordinates, poloygons, etc.) for iOS using an Xcode static library project.

Include in it are the GEOS and PROJ projects which builds into their own individual libaries albeit really huge in size 43mb and 1.7mb respectively.

By default, the project just builds the libspatialite library without GEOS and PROJ support by firstly not linking them and defining the OMIT_GEOS and OMIT_PROJ definitions.

Should these libraries need to be built and included, just link the libspatialite target with the GEOS and PROJ libraries and remove the C Flags of OMIT_GEOS and OMIT_PROJ, clean and rebuild.


5.7mb when built with spatialit (-GEOS -PROJ)e and the sqlite3 (+RTree +FTS3) amalgamation.


If you want things like distance between points, it is inevitable that you ahve to include the GEOS and PROJ packages which does bring SQLite to 43mb. Distance Functions

Something went wrong with that request. Please try again.