运行时错误,错误和问题iphone应用程序

时间:2012-12-11 09:09:12

标签: ios xcode frameworks revmob

我正在尝试在我的iphone应用中添加AdManager文件,以便它有不同类型的广告。 (revmob,adwhirl,chartboost等)。同时我也想要In App-Purchase功能。我的工作是正确的,但有一些问题和错误,我不明白是什么,我甚至添加了所有必需的框架。

Undefined symbols for architecture i386:
"_OBJC_METACLASS_$_CDataScanner", referenced from:
 _OBJC_METACLASS_$_CJSONScanner in CJSONScanner.o

"_SKStoreProductParameterITunesItemIdentifier", referenced from:
  -[RevMobStoreController openStoreWithITunesItemId:] in RevMobAds(RevMobStoreController.o)

"_OBJC_CLASS_$_SKStoreProductViewController", referenced from:
  objc-class-ref in RevMobAds(RevMobStoreController.o)

"_OBJC_IVAR_$_CDataScanner.current", referenced from:
  -[CJSONScanner scanNotQuoteCharactersIntoString:] in CJSONScanner.o

"_OBJC_CLASS_$_CDataScanner", referenced from:
  l_OBJC_$_CATEGORY_CDataScanner_$_CDataScanner_Extensions in CDataScanner_Extensions.o

  _OBJC_CLASS_$_CJSONScanner in CJSONScanner.o
"_OBJC_IVAR_$_CDataScanner.end", referenced from:
  -[CJSONScanner scanNotQuoteCharactersIntoString:] in CJSONScanner.o

ld:找不到架构i386的符号 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

1 个答案:

答案 0 :(得分:0)

您是否添加了StoreKit框架? 这肯定会解决前几个链接器错误。