Cannot compile after using RNCryptor

714 views Asked by At

I am using RNCryptor from here. but cannot seem to get my app to compile correctly. I get the following errors in the log:

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_RNDecryptor", referenced from:
      objc-class-ref in EncryptionTransformer.o
  "_OBJC_CLASS_$_RNEncryptor", referenced from:
      objc-class-ref in EncryptionTransformer.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can anyone tell me whats wrong here?

1

There are 1 answers

0
Wevah On BEST ANSWER

I would guess you built RNCryptor for ARM but you're building your application to run on the Simulator (i386).