yahoo / squidb

SquiDB is a SQLite database library for Android and iOS
https://github.com/yahoo/squidb/wiki
Apache License 2.0
1.31k stars 132 forks source link

SQLiteConnectionNative.m : getBytesWithEncoding and stringWithCharacters not exists in NSString #282

Open ghost opened 6 years ago

ghost commented 6 years ago

Xcode 9.3 with iOS 11.3

Getting four ARC Semantic issues error in SQLiteConnectionNative.m

  1. Line No.: 166,285
    IOSByteArray *sql = [sqlString getBytesWithEncoding:NSUTF16StringEncoding];

Error : No visible @interface for 'NSString' declares the selector 'getBytesWithEncoding:'

  1. Line No.: 235, 535 :

return [NSString stringWithCharacters:chars]; Error : No known class method for selector 'stringWithCharacters:'

Please help me on this.