wcdb icon indicating copy to clipboard operation
wcdb copied to clipboard

iOS cocopods添加的wcdb 一引用#import <WCDB/WCDB.h>编译就报错

Open guoshengboy opened this issue 6 years ago • 3 comments

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就编译报错 image image image

Explain what you want by example or code in English.

guoshengboy avatar Mar 10 '20 08:03 guoshengboy

Could you provide the full error log?

RingoD avatar Mar 12 '20 04:03 RingoD

#import <WCDB/WCDB.h>的.m文件必须改为.mm

RondaHo avatar Mar 19 '20 10:03 RondaHo

点赞 我也遇到了这个问题 改成.mm,就好了.

ke112 avatar Jul 23 '21 02:07 ke112