Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-06-2010, 01:26 PM   #1 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 2
mustafa is on a distinguished road
Question SQLITE FTS3 RELEASE CONFIGURATION

I am new to iPhone development. Although I have searched on this forum, in Apple documentation, etc., I am stumped by what very well may be a simple problem. I am trying my best not to ask a redundant question already covered on the forum, but please forgive me if that ends up being the case.

I wrote a database app that uses SQLITE's FTS3 functions (specifically MATCH and OFFSET). These are essential to my application. I downloaded the amalgamation files, made the necessary changes to the header and created a SQLITE group for them in my project. I removed from the Frameworks group my previous reference to the libsqlite3.dylib library.

The application performs great in the Simulator for both debug and release builds. There are no memory leaks or other issues. The application also performs great on the iPhone, BUT only for the debug build! The release build seems to ignore any SQL calls with MATCH and OFFSET keywords, and those SQL calls simply return no rows in those cases. No exceptions are ever thrown and all other SQL calls work perfectly.

My question is, "When I build the release version with my iPhone connected, is my FTS3 enabled version of SQLITE not being installing along with my app?" I see the sqlite.o object file in the appropriate Release-iphoneos subfolder. It is a bit smaller than the one in the Debug-iphoneos subfolder, but I figured this is due to a lack of debug symbols.

I feel that I am almost ready to upload my app for review and really need to solve this issue. However, I suspect it is due to a gaping hole in my knowledge of this new platform. Hence, my app may be almost ready, but maybe I am not.

Thank you.

Last edited by mustafa; 02-06-2010 at 01:28 PM. Reason: typo
mustafa is offline   Reply With Quote
Reply

Bookmarks

Tags
fts3, match, offset, release build, sqlite

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 322
6 members and 316 guests
2Apps1Day, akacaj, SLIC, soohyun, Techgirl-52, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,650
Threads: 94,115
Posts: 402,887
Top Poster: BrianSlick (7,990)
Welcome to our newest member, soohyun
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:06 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0