Skip to content
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

Fix sqlite warnings #101

Merged
merged 4 commits into from
Jun 11, 2015
Merged

Fix sqlite warnings #101

merged 4 commits into from
Jun 11, 2015

Conversation

heitortsergent
Copy link
Contributor

This PR is related to #78.

Move sqlite amalgamation files to a subspec inside the KeenClient.podspec file, so we can apply compiler flags to it and suppress the warnings. That way they won't show up when the SDK is being used as part of other projects.

You can test the PR by using a Podfile in a project like this:

target 'KeenLibPodsExample' do
  pod 'KeenClient', :path => '~/YOUR/PATH/TO/KeenClient-iOS', :branch => 'fix_sqlite_warnings'
end

Then building the project and checking that the Issue navigator doesn't throw any errors.

@terrhorn
Copy link
Contributor

👍

Update the compiler flags from `-analyzer-disable-checker -Xanalyzer deadcode` to `-analyzer-disable-all-checks`
Move sqlite amalgamation to a subspec in order to add compiler flags to its files and stop showing warnings
@heitortsergent heitortsergent merged commit 0528003 into master Jun 11, 2015
@heitortsergent heitortsergent deleted the fix_sqlite_warnings branch June 12, 2015 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants