编辑Robovm绑定文件时用于体系结构的未定义符号

时间:2015-05-28 08:14:56

标签: robovm

我试图从Mopub绑定中删除AdColony SDK,以实现我执行以下步骤:

  1. 在XCode上打开mopub.xcodeproj
  2. AdColony folderAdNetwork Support Folder标签中删除Build Phases
  3. 重建项目并在libmopub.a文件夹下复制文件Debug-universal
  4. libmopub.a添加到绑定libs文件夹和我的项目libs文件夹,并相应地更新robovm.xml文件
  5. 尝试构建时,我收到以下错误:

    注意:libmopub.a的未修改版本无任何问题

    5/28/15 11:09:08 AM: [ERROR] Undefined symbols for architecture armv7:
    5/28/15 11:09:08 AM: [ERROR]   "_OBJC_CLASS_$_MPLogProvider", referenced from:
    5/28/15 11:09:08 AM: [ERROR]       objc-class-ref in libmopub.a(MPLogging.o)
    5/28/15 11:09:08 AM: [ERROR]   "_OBJC_CLASS_$_MPNativePositionSource", referenced from:
    5/28/15 11:09:08 AM: [ERROR]       objc-class-ref in libmopub.a(MPInstanceProvider.o)
    5/28/15 11:09:09 AM: [ERROR]   "_OBJC_CLASS_$_MPGeolocationProvider", referenced from:
    5/28/15 11:09:09 AM: [ERROR]       objc-class-ref in libmopub.a(MPCoreInstanceProvider.o)
    5/28/15 11:09:09 AM: [ERROR]   "_OBJC_CLASS_$_MPServerAdPositioning", referenced from:
    5/28/15 11:09:09 AM: [ERROR]       objc-class-ref in libmopub.a(MPStreamAdPlacer.o)
    5/28/15 11:09:09 AM: [ERROR]       objc-class-ref in libmopub.a(MPCollectionViewAdPlacer.o)
    5/28/15 11:09:09 AM: [ERROR]       objc-class-ref in libmopub.a(MPTableViewAdPlacer.o)
    5/28/15 11:09:09 AM: [ERROR]   "_kMoPubHTTPHeaderContentType", referenced from:
    5/28/15 11:09:09 AM: [ERROR]       -[MPURLResolver stringEncodingFromContentType:] in libmopub.a(MPURLResolver.o)
    5/28/15 11:09:09 AM: [ERROR]       -[MPURLResolver connection:didReceiveResponse:] in libmopub.a(MPURLResolver.o)
    5/28/15 11:09:09 AM: [ERROR]       -[MRController connection:didReceiveResponse:] in libmopub.a(MRController.o)
    5/28/15 11:09:09 AM: [ERROR]   "_OBJC_CLASS_$_Chartboost", referenced from:
    5/28/15 11:09:09 AM: [ERROR]       objc-class-ref in libmopub.a(ChartboostInterstitialCustomEvent.o)
    5/28/15 11:09:09 AM: [ERROR]      (maybe you meant: _OBJC_CLASS_$_ChartboostInterstitialCustomEvent)
    5/28/15 11:09:09 AM: [ERROR] ld: symbol(s) not found for architecture armv7
    5/28/15 11:09:09 AM: [ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)
    5/28/15 11:09:09 AM: [ERROR] Build failed
    

0 个答案:

没有答案