build error when add Admob in iOS app

前端 未结 2 762
终归单人心
终归单人心 2021-01-24 08:20

I tried lots of source code and many questions here but no solution is working for me. When I tried to add admob to my existing project I got the following error in Xcode, plea

相关标签:
2条回答
  • 2021-01-24 08:54

    follow this tutorial

    And make ADSupport.framework optional

    download libAdapterId,a form here https://dl.google.com/dl/googleadmobadssdk/libadapteriad.zip Do net set translatesAutoresizingMaskIntoConstraints property. It is supported for iOS6 and later

    0 讨论(0)
  • 2021-01-24 08:55

    Finally I found the solution !! The problem is with Storekit Framework, I had dragged this frame from into my project from previous time, so when I deleted this framework, & then add it again from build setting > Build phases , then add the StoreKit frame work, the error is gone.

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