友盟庫報錯處理

報錯信息:
Undefined symbols for architecture i386:
  "___gxx_personality_v0", referenced from:
      Dwarf Exception Unwind Info (__eh_frame) in TencentOpenAPI(AppidConvert.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)



添加以下兩個庫到 link binary with libraries:

libstdc++.dylib

libz.1.1.3.dylib





http://www.cocoachina.com/ask/questions/show/100368


Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_MobClick", referenced from:
      objc-class-ref in ZDJAppDelegate.o
  "_OBJC_CLASS_$_QQApiInterface", referenced from:
      objc-class-ref in ZDJAppDelegate.o
  "_OBJC_CLASS_$_TencentOAuth", referenced from:
      objc-class-ref in ZDJAppDelegate.o
  "_OBJC_CLASS_$_UMFeedback", referenced from:
      objc-class-ref in ZDJSettingVController.o
  "_OBJC_CLASS_$_UMSocialConfig", referenced from:
      objc-class-ref in ZDJAppDelegate.o
  "_OBJC_CLASS_$_UMSocialControllerService", referenced from:
      objc-class-ref in ZDJSettingVController.o
  "_OBJC_CLASS_$_UMSocialData", referenced from:
      objc-class-ref in ZDJViewController.o
      objc-class-ref in ZDJFavorDetailVController.o
      objc-class-ref in ZDJAppDelegate.o
  "_OBJC_CLASS_$_UMSocialDataService", referenced from:
      objc-class-ref in ZDJSettingVController.o
  "_OBJC_CLASS_$_UMSocialSnsPlatformManager", referenced from:
      objc-class-ref in ZDJSettingVController.o
  "_OBJC_CLASS_$_UMSocialSnsService", referenced from:
      objc-class-ref in ZDJViewController.o
      objc-class-ref in ZDJFavorDetailVController.o
      objc-class-ref in ZDJAppDelegate.o
  "_UMShareToQQ", referenced from:
      -[ZDJSettingVController shareBtnEvent:] in ZDJSettingVController.o
      -[ZDJViewController shareBtnEvent:] in ZDJViewController.o
      -[ZDJFavorDetailVController shareBtnEvent:] in ZDJFavorDetailVController.o
  "_UMShareToSina", referenced from:
      -[ZDJSettingVController shareBtnEvent:] in ZDJSettingVController.o
      -[ZDJViewController shareBtnEvent:] in ZDJViewController.o
      -[ZDJFavorDetailVController shareBtnEvent:] in ZDJFavorDetailVController.o
  "_UMShareToTencent", referenced from:
      -[ZDJSettingVController shareBtnEvent:] in ZDJSettingVController.o
      -[ZDJViewController shareBtnEvent:] in ZDJViewController.o
      -[ZDJFavorDetailVController shareBtnEvent:] in ZDJFavorDetailVController.o
  "_UMShareToWechatTimeline", referenced from:
      -[ZDJSettingVController cancelOauthPlatform:] in ZDJSettingVController.o
      -[ZDJSettingVController shareBtnEvent:] in ZDJSettingVController.o
      -[ZDJViewController shareBtnEvent:] in ZDJViewController.o
      -[ZDJFavorDetailVController shareBtnEvent:] in ZDJFavorDetailVController.o



友盟的庫在64bi環境下,調試會出錯;

http://www.cocoachina.com/ask/questions/show/106360/%E5%8F%8B%E7%9B%9F%E5%88%86%E4%BA%AB%E9%9B%86%E6%88%90%E5%9C%A864%E4%BD%8D%E4%B8%8B%E8%BF%90%E8%A1%8C%E6%8A%A5%E9%94%99

發佈了53 篇原創文章 · 獲贊 4 · 訪問量 8萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章