"Linker command failed with exit code 1" - GoogleMobileAds SDK

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I've been trying to setup the GoogleMobileAds SDK on Xcode for days now, with no luck.

    I did follow the Please login to see this link., Please login to see this link. and admob object guides.

    I did set up the other linker flags properly (-ObjC), and updated the plist file accordingly for the SDK, as shown in the quickstart Google guide.

    I also included all these libraries, as explained in the admob object help guide and several other related posts in clickteam community:

    cfnetwork
    messages
    messagesui
    coretelephony
    adsupport
    safariservices
    corevideo
    coremedia
    glkit
    eventkit
    EventkitUI
    security
    JavaScriptCore

    And no, I didn't extract the GoogleMobileAds SDK on Windows.

    I also tried doing the entire thing with Cocoapods, but ran with the same luck.

    No matter what I do, I am always met with "Linker command failed with exit code 1" error.

    I am trying to setup GoogleMobileAds SDK version 10.11. I read somewhere that Fusion works best with 10.2, because it's the one that has promisesObjC.framework instead of FBLPromises. Should I find and use the 10.2 version?

    How do I fix this issue? What am I missing? Any help would be greatly appreciated.

  • Please login to see this attachment.
    This is the error log of the whole thing. Apparently the issue is on ATTrackingManager, but I am declaring NSUserTrackingUsageDescription string key on the plist file, as stated in the Please login to see this link. guide.

    I have also read that arm64 simulators can cause the linker command failed issue, so I am excluding arm64 in build settings > Excluded Architectures > Debug

    I am working on a 2020 Macbook Air M1. A lot of developers working on M1/2 chip devices had similar errors when building on Xcode, so perhaps that's worth looking into.

    Any ideas on how to fix this?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!