将inmobi SDK添加到我的iOS项目的问题

时间:2013-01-13 00:29:54

标签: objective-c xcode admob

我正在使用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的文件夹中。我无法弄清楚我做错了什么,所以如果有人能告诉我或指导我,我将是最幸福的人! ; - )

提前致谢。

1 个答案:

答案 0 :(得分:1)

您是否添加了http://developer.inmobi.com/wiki/index.php?title=IOS中列出的所有正确框架。

看起来您可能没有专门链接Security框架?