SQLiteCipher.swift icon indicating copy to clipboard operation
SQLiteCipher.swift copied to clipboard

Carthage Fails and can't use CocoaPods

Open jjohnsonvng opened this issue 9 years ago • 5 comments

*** Checking out SQLiteCipher.swift at "aaf0b5107deb2006e6edd74d9ca3e362be240885" *** xcodebuild output can be found in /var/folders/0m/jz0qf0bd5834_n51gwwp73340000gn/T/carthage-xcodebuild.v4muZl.log *** Skipped building SQLiteCipher.swift due to the error: Dependency "SQLiteCipher.swift" has no shared framework schemes

If you believe this to be an error, please file an issue with the maintainers at https://github.com/stephencelis/SQLiteCipher.swift/issues/new

jjohnsonvng avatar Mar 24 '16 17:03 jjohnsonvng

More Information screen shot 2016-03-24 at 8 56 54 pm

jjohnsonvng avatar Mar 25 '16 02:03 jjohnsonvng

And a bit more screen shot 2016-03-24 at 9 04 27 pm

jjohnsonvng avatar Mar 25 '16 02:03 jjohnsonvng

The only way I got this to work successfully was to do a Manual Installation. Also NOTE: If you are also using SQLiteCipher you will have to Manually install it, but you will also have to copy the sqlite3.h file from SQLite into your project like show here. screen shot 2016-03-25 at 7 36 14 am

You will then have to update the module.modulemap file in that same directory to this: module SQLite3 [system] { header "sqlite3.h" link "sqlite3" export * }

Then everything works once again.

jjohnsonvng avatar Mar 25 '16 12:03 jjohnsonvng

@jjohnsonvng yeah... still not setting/getting that SQLite3 directory from the SQLite.swift submodule. Don't know how to follow your example code when the code I get from the repo doesn't match ☹️

gblotter avatar Mar 25 '16 15:03 gblotter

I downloaded both SQLite and SQLiteCipher with GitHub

screen shot 2016-03-25 at 11 23 07 am

I could then see the /usr/include/sqlite3.h file

Regardless I understand your frustration trust me.

Here are the files

Archive.zip

jjohnsonvng avatar Mar 25 '16 16:03 jjohnsonvng