Tencent / wcdb

WCDB is a cross-platform database framework developed by WeChat.
Other
10.61k stars 1.39k forks source link

in Objective-c language pod " WCDB.swift" #1109

Closed BaronWj closed 1 month ago

BaronWj commented 1 month ago

The language of WCDB

Objective-c and swift

The version of WCDB

2.0.4

The platform of WCDB

iOS

The installation of WCDB

Cocoapods

What's the issue?

[!] The following Swift pods cannot yet be integrated as static libraries:

The Swift pod WCDB.swift depends upon WCDBOptimizedSQLCipher, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers! globally in your Podfile, or specify :modular_headers => true for particular dependencies.

Qiuwen-chen commented 1 month ago

I will consider it. For now, you can git clone source files and compile them as static lib.