I realize that I can't write to the app bundle at runtime. I had originally thought I could simply download a file to the application bundle which would in turn be read by my application.
NSURL *url = [NSURL URLWithString:@"http://www.drewcarpenter.info/shopping.db"];
ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
[request setDownloadDestinationPath:@"dbFilePath"];
[request startSynchronous];
Where dbFilePath is a reference to the Documents folder in my app bundle.
How can I retrieve a DB file from a server and in-turn use the SQL C API to interact with this file at run-time?