New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Podspec depending on FMDB/SQLCipher fails #7232
Comments
FWIW the FMDB team think that their pod is correct: |
Looks like using Xcode 8 would be a workaround since this seems to be a new Xcode 9 error. Otherwise, you could explore adding the right |
For now, just use '--use-libraries' param to ignore this error. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
It would be nice if this was not closed. I am still seeing this issue. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
I believe FMDB has fixed this in ccgus/fmdb#672 but hasn't publish a new version to CocoaPods |
OK thanks, we have a workaround for now ( |
In which file we must use the (--use-libraries) param? |
@sri94aa I believe FMDB updated their Podspec to fix this issue, so I recommend updating |
Sorry if this has been raised before, I am still not clear whether this is a CocoaPods issue, or a SQLCipher issue.
I have seen read the discussion at the links below [1] [2] but the suggested work-around (a
post_install
hook in thepodfile
) is not applicable since we need to publish a spec which depends onFMDB/SQLCipher
. We can't publish our spec becausepod lib lint
is currently failing.[1] https://discuss.zetetic.net/t/ios-11-xcode-issue-implicit-declaration-of-function-sqlite3-key-is-invalid-in-c99/2198/27
[2] ccgus/fmdb#612
Report
What did you do?
Ran
pod lib lint --allow-warnings
with a minimal podspec with the dependencys.dependency 'FMDB/SQLCipher', '= 2.7.2'
(see below).What did you expect to happen?
Command should succeed.
What happened instead?
Command fails with the following errors:
CocoaPods Environment
[Note the same result is obtained running CocoaPods 1.3.1]
Stack
Installation Source
Plugins
Project that demonstrates the issue
This is the minimal podspec which depends on
FMDB/SQLCipher
. I am aware that some of the values (homepage etc) are not "real" values but were just chosen to suppress non-material errors inpod lib lint
. Likewise, this test project doesn't have any source files, headers etc, because we're just trying to isolate the issue withFMDB/SQLCipher
.The text was updated successfully, but these errors were encountered: