Reg*_*an 5 cocoa-touch objective-c armv7 ios rncryptor
我导入了RNCryptor,可以在这里找到:https://github.com/rnapier/RNCryptor到我的应用程序中.但是,我在日志中遇到了三个错误.
Undefined symbols for architecture armv7:
"_SecRandomCopyBytes", referenced from:
+[RNCryptor randomDataOfLength:] in RNCryptor.o
"_kSecRandomDefault", referenced from:
+[RNCryptor randomDataOfLength:] in RNCryptor.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
我看到这通常是在导入的类没有包含在目标中时引起的,但是我已经检查了构建阶段,并且所有导入的类都在那里.我不知道造成这种情况的原因,我没有触及任何这些类的代码.我还清理了几次目标.