wcdb
wcdb copied to clipboard
iOS cocopods添加的wcdb 一引用#import <WCDB/WCDB.h>编译就报错
The language of WCDB
e.g. Objective-C, Swift or Java
Objective-C
The version of WCDB
e.g. v1.0.5 1.0.7.5
The platform of WCDB
e.g. iOS, macOS or Android
iOS
The installation of WCDB
e.g. Cocoapods, Carthage, Maven, AAR Package or Git clone
Cocoapods
What's the issue?
Post the outputs or screenshots for errors.
用pods安装好wcdb之后 如果不引用wcdb可以编译运行,一旦引用wcdb就编译报错

Explain what you want by example or code in English.
Could you provide the full error log?
#import <WCDB/WCDB.h>的.m文件必须改为.mm
点赞 我也遇到了这个问题 改成.mm,就好了.