Spatialite iOS5 and xcode 4.5 - could not prepare statement: no such function: GLength
问题 I am at the end of my sanity trying to get spatialite to compile with xcode 4.5 for iOS6 (or any other version). Actually, I can get it to compile using a technique based on Build a static library for iOS - specifically spatialite where the console returns that all is oK but when I run a query such as "select pk_uid from uk_highways order by GLength(geometry) limit 2" the statement won't prepare. Running the query "select pk_uid from uk_highways limit 2" will return 2 id's i.e. taking out the