This is the directory where all .db files used by the app are stored. All .db files can be created, modified, or deleted from within the app. Do not navigate to this directory in Finder and edit the .db files from outside the app.
If the .db files are edited whilst the app is still running, it might cause the app to crash. If that happens:
- Redo the changes to the .db files and restart the app.
- If the app still crashes, then delete all .db files that were edited from outside the app. Open the Activity Monitor and force-quit the app if it has not already been killed. In Xcode, go to Product > Clean Build Folder. Then, restart the app.
Note: the default database german-idioms.db
is always generated anew every time the app is started. The title of its table is "Redewendungen". Do not change it.
This script is called from within the app to create the default database german-idioms.db
. Do not remove!!
Make sure that you already have the library Beautiful Soup installed.
To check the path to your Python executable, run which python3
on the Terminal (i.e. from outside Xcode).