使用RNCryptor后无法编译

时间:2012-10-15 19:08:29

标签: ios objective-c xcode rncryptor

我正在使用here的RNCryptor。但似乎无法让我的应用程序正确编译。我在日志中收到以下错误:

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)

谁能告诉我这里有什么问题?

1 个答案:

答案 0 :(得分:0)

我猜你为ARM构建了RNCryptor但是你正在构建你的应用程序以在模拟器(i386)上运行。