ccgus / fmdb

A Cocoa / Objective-C wrapper around SQLite
Other
13.84k stars 2.76k forks source link

The subspec 'SQLCipher' required privacy file location declaration #866

Closed alwayswith closed 5 months ago

alwayswith commented 5 months ago

s.subspec 'SQLCipher' do |ss| ss.dependency 'SQLCipher' ss.source_files = 'src/fmdb/FM*.{h,m}' ss.exclude_files = 'src/fmdb.m' ss.header_dir = 'fmdb' ss.resource_bundles = {'SQLCipher' => ['privacy/PrivacyInfo.xcprivacy']} // missing this line ss.xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC -DHAVE_USLEEP=1 -DSQLCIPHER_CRYPTO', 'HEADER_SEARCH_PATHS' => 'SQLCipher' } end

Without privacy file declaration in subspec, The privacy file will not be include in pod project if i just use pod 'FMDB/SQLCipher'

incanus commented 5 months ago

This makes sense to me @alwayswith. Will be fixed in next release.