Skip to content

umbrella header 'SQLiteCipher.h' not found #308

Closed
@ammoqq

Description

@ammoqq

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions