If you need an iOS app done in Swift that requires an encrypted SQLite database, these are the steps for a simple and under full control solution:
- Create a new Swift project and then close XCode
- Go to Terminal and from app folder create a pod file, using: pod init
- Edit Podfile and add the following line: pod 'SQLCipher'
- From Terminal install the pod, using: pod install
- Open the xcworkspace file and you will see both the project and Pods in XCode