project-imas / encrypted-core-data

v2.0 - iOS Core Data encrypted SQLite store using SQLCipher
Other
785 stars 236 forks source link

XCode 10- Integrated by CocoaPods - 8 warnings and build error #320

Open ankitthakur opened 5 years ago

ankitthakur commented 5 years ago

I have created fresh project and integrate EncryptedCoreData latest version 3.1, with SQLCipher 3.4.2 using cocoapods with base platform iOS 9.0 in XCode 10.1. When I am compiling the code project, it fails with error in EncryptedCoreData.m. As it is not able to find sqlcipher.h and is automatically referring it to system level sqlite.h file. Then I have changed #import <sqlcipher.h> to #import "sqlcipher.h", then compilation got successful. But we are still getting 10 ARC Warnings Block captures an autoreleasing out-parameter, which may result in use-after-free bugs Here is the screenshot. image