XCode linker error : library not found for -lAdMobDevice

后端 未结 6 1139
无人及你
无人及你 2020-12-06 01:40

I am trying to build lite version of my iPhone application using AdMob. I followed the guidelines here http://www.iphonedevsdk.com/forum/iphone-sdk-development/11358-creatin

相关标签:
6条回答
  • 2020-12-06 01:52

    I had the same problem with Google Analytics library. My problem was that I forgot to add the path to the Library Search Paths in my target's build settings. (Target -> Build Settings -> Library Search Paths)

    0 讨论(0)
  • 2020-12-06 01:54

    I got similar error as I was using CocoaPods libraries

    library not found for -lPods-MyApp

    I got the error because I opened xcode project instead of workspace.

    0 讨论(0)
  • 2020-12-06 02:01

    I was using CocoaPods, and ran pod install, and that fixed it.

    0 讨论(0)
  • 2020-12-06 02:01

    I figured out what he problem was. I just removed all frameworks and libraries and added them back in for both the targets and it worked!

    Cheers

    0 讨论(0)
  • 2020-12-06 02:07

    When I had this problem, the cause was that I'd added the library into Xcode by dragging it in like a regular source file.

    The fix was to remove it, and then add it properly using the "Add->Existing Frameworks..." dialogue.

    0 讨论(0)
  • 2020-12-06 02:09

    I cause this because of a libray libMobClickLibrary.a which is used in youmeng sdk missed. I fix the issued after copy libMobClickLibrary.a to the project floder.

    0 讨论(0)
提交回复
热议问题