Let's say that I have an sqlite3 database that I added to my resources folder. After a bit of tinkering with code, now I need to add a column that I forgot about before. So I go into terminal and add the column to the original file. I delete the references in the XCode project, then re-add the database to the resources. However, it does not work. It keeps the same database that I added in the first place.
Or maybe I want to clear all of the data in the database. I go to Terminal and delete all of the rows in the table. This time I would go so far as to copy the file, paste it in another directory, then move the original file to the trash, then move the new file into XCode. Nope. That does not work either.
The only thing that works is physically finding the file under Application Support and then pasting the new file there.
There has to be a better way.
Or maybe I want to clear all of the data in the database. I go to Terminal and delete all of the rows in the table. This time I would go so far as to copy the file, paste it in another directory, then move the original file to the trash, then move the new file into XCode. Nope. That does not work either.
The only thing that works is physically finding the file under Application Support and then pasting the new file there.
There has to be a better way.