stephencelis / SQLite.swift

A type-safe, Swift-language layer over SQLite3.
MIT License
9.72k stars 1.57k forks source link

SQLite.swift and SQLCipher #1259

Closed Nahatakyan closed 6 months ago

Nahatakyan commented 6 months ago

Hi. The readme file contains the option “SQLCipher support via CocoaPods”. I created an empty project and wrote this pod file:

platform :ios, '14.0'

use_frameworks!

target 'TestSQL' do

  #DB
  pod 'SQLCipher', '4.5.5'

  #SQLite
  pod 'SQLite.swift', '~> 0.14.0'

end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
    end
  end
end

But I can't run the project:

Screenshot 2024-04-15 at 21 28 07

Can anyone tell me how I can use both of these platforms?

Integration: Cocoapods Xcode: 15.2 MacOS: 14.4.1 SQLite.swift version: 0.13.3, 0.15.1

Nahatakyan commented 6 months ago

Sorry. I didn't read the documentation.