1
votes

I use EncryptedCoreData to encrypt CoreData. Integrate it with pod ( pod 'EncryptedCoreData', :git => 'https://github.com/project-imas/encrypted-core-data.git'), in Bridging-Header - file I include:

#import <EncryptedCoreData/EncryptedStore.h> 

, but I have such error: Undefined symbols for architecture i386: "_OBJC_CLASS_$_EncryptedStore", referenced from: __TMaCSo14EncryptedStore in AppDelegate.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

How can I fix this error?

1
Have you added the library to your project?andrewbuilder

1 Answers

0
votes

In pods Xcode project -> build setting, set build for active architecture only to 'NO'