Description
Hi followed the instructions and got this problem
umbrella header 'SQLiteCipher.h' not found
could not build Objective-C module 'SQLiteCipher'
//-------------------this is my podfile<<<<<<<<<<<
# Uncomment this line to define a global platform for your project
# platform :ios, '6.0'
platform :ios, '8.0'
use_frameworks!
target 'Kik' do
pod 'AFNetworking', '~>2.5.4'
pod 'Fabric'
pod 'Crashlytics'
pod 'SwiftyJSON'
pod 'ObjectMapper'
pod 'MQTTClient'
pod 'JSQMessagesViewController'
pod 'KDCircularProgress'
pod 'CSwiftV'
pod 'MarqueeLabel'
pod 'SQLiteCipher.swift',
git: 'https://github.com/stephencelis/SQLite.swift.git'
end
target 'KikTests' do
end
//-------------------this is my bridging header<<<<<<<<
#ifndef Kik_Bridging_Header_h
#define Kik_Bridging_Header_h
import "AFNetworking.h"
import "MQTTClient.h"
import <JSQMessagesViewController/JSQMessages.h>
import <CommonCrypto/CommonHMAC.h>
import <sqlite3.h>
endif /* Kik_Bridging_Header_h */
I'm using xcode 7.2, I followed this tutorial first https://www.zetetic.net/sqlcipher/ios-tutorial/
then the tutorial for SQLite.swift. (I've installed via cocoapods obviously)
I also tried to install sqlite only and it cannot find the umbrella header too
//-------------------The code i tried to compile is like this:<<<<<<<<<<<<
import Foundation
import SQLiteCipher
class SQLService {
func doSomeTask() {
let db = Database("path/to/ciphered.sqlite3")
db.key("your_key")
}
}
Do you have any idea how to solve that ? thanks in advance!