我正在使用 adMob 中介作为我的横幅提供程序,而且效果很好。现在我想将 inmobi 添加到中介中并按照说明进行操作,但是在尝试构建到我的 iPhone 时出现这些错误?
Undefined symbols for architecture armv7:
"_SecPolicyCreateBasicX509", referenced from:
_getIMPublicKeyWithCert in libInMobiCommons-3.6.5.a(IMCommonUtilPrivate.o)
"_SecTrustCreateWithCertificates", referenced from:
_getIMPublicKeyWithCert in libInMobiCommons-3.6.5.a(IMCommonUtilPrivate.o)
"_SecTrustCopyPublicKey", referenced from:
_getIMPublicKeyWithCert in libInMobiCommons-3.6.5.a(IMCommonUtilPrivate.o)
"_SecKeyGetBlockSize", referenced from:
-[IMCommonUtil EncodeRSA:publicKey:] in libInMobiCommons-3.6.5.a(IMCommonUtilPrivate.o)
"_SecCertificateCreateWithData", referenced from:
_getIMPublicKeyWithCert in libInMobiCommons-3.6.5.a(IMCommonUtilPrivate.o)
"_SecKeyEncrypt", referenced from:
-[IMCommonUtil EncodeRSA:publicKey:] in libInMobiCommons-3.6.5.a(IMCommonUtilPrivate.o)
"_SecTrustEvaluate", referenced from:
_getIMPublicKeyWithCert in libInMobiCommons-3.6.5.a(IMCommonUtilPrivate.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我已将 libAdapterInMobi.a 添加到“链接框架和库”中,并将 SDK 添加到名为 inMobi 的文件夹中。我不知道我做错了什么,所以如果有人能告诉我或指导我,我会是活着的最快乐的人!;-)
提前致谢。