Closed webull-ios closed 6 years ago
I found the solution:
open SQLite-Briging.h
, change
#import "sqlite3.h"
to
#import <sqlite3/sqlite3.h>
if someone got the same issue, may try this
It still doesn't work. 'sqlite3/sqlite3.h' file not found.
I'm having the same issue. Xcode 10.1, cocoa pods 1.5.3, SQLite.swift 0.11.5 included as: pod 'SQLite.swift/SQLCipher'
Removed Pods folder, Podfile.lock, cleared pod cache, installed pods fresh. Removed DerivedData folder Rebuilt, same issue: Include of non-modular header inside framework module 'SQLite.SQLite_Bridging':
Tried setting 'Allow non-modular includes in framework module' to YES in both target and project settings.
Tried adding:
post_install do |installer| installer.pods_project.build_configuration_list.build_configurations.each do |configuration| configuration.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES' end end
to Podfile
None of this has any positive effect for me.
Are people not seeing this anymore somehow? Any suggestions? I don't see a closed issue related to this. I just see several issues opened and closed.
I'm able to build by unlocking the pod and making this change:https://github.com/stephencelis/SQLite.swift/commit/a72a1c43361b480f7c3ca8b57c5ed3d788345880
I'm able to build by unlocking the pod and making this change:a72a1c4
Saved my day, thank you!
I'm able to build by unlocking the pod and making this change:a72a1c4
Thank you, Johnathan! Fixed in Xcode 10.2
Tybion: the change I posted is no longer needed with Xcode 10.2?
Johnathan: It was the only thing that worked for me. I tried lots of other ideas from above, and elsewhere. (0.11.5)
Build Information
Complile Using Xcode 10.0 on MacOs 10.14 using swift 4.2 with SQLite.swift 0.11.4, installed by Cocoapods
get error: _Include of non-modular header inside framework module 'SQLite.SQLiteBridging':