Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Mobile Ads SDK Causing Crash in iPad App Running on macOS #456

Open
Charchoghlyan opened this issue Aug 23, 2024 · 7 comments
Open

Comments

@Charchoghlyan
Copy link

I am experiencing a crash in my iOS project when using the Google Mobile Ads SDK. The issue occurs specifically when running my iPad app on macOS (Mac Catalyst). Removing the Google Mobile Ads Swift Package Manager (SPM) dependency resolves the issue, but I need to continue using the SDK in my app on iOS/iPadOS.

Failed to look up symbolic reference at 0x1018991b1 - offset 754711 - symbol symbolic _____Sg 14MarketplaceKit14AppDistributorO in /private/var/folders/3p/**/*

@Xa69
Copy link

Xa69 commented Aug 24, 2024

I’ll pick this up and give it a shot @Charchoghlyan

@Charchoghlyan
Copy link
Author

@Xa69 thx, let me know if I can provide more info anything else

@Xa69
Copy link

Xa69 commented Aug 24, 2024

@Charchoghlyan from looking the issue up online it looks to be related to the SDK’s dependency on “MarketplaceKit” which is not available for MacOS due to which the app is crashing when run on the Mac Platform.

Reference Link : https://stackoverflow.com/questions/78808081/why-does-running-an-ios-app-through-macos-cause-failed-to-look-up-symbolic-refe

Please try using a downgraded version and see if it works, as per the suggestion in the link I attached downgrading the SDK version worked.

Also, if you see the Apple documentation I’ve linked below, MarketPlaceKit is only available for iOS and iPadOS right now
Apple Documentation : https://developer.apple.com/documentation/marketplacekit

Was able to reproduce the issue on the Sample app provided by Google in this repository inside "googleads-mobile-ios-examples/Swift/admob/AppOpenExample" as well.

If you see the complete error message "Failed to look up symbolic reference at 0x1010ec149 - offset 311735 - symbol symbolic _____Sg 14MarketplaceKit14AppDistributorO in /private/var/folders/jq/mswtm58d0wqbpd0st342h2840000gp/X/4B690486-4C3B-5FEB-8B04-EFB469A1EC41/d/Wrapper/AppOpenExample.app/AppOpenExample”

Can confirm the issue you are seeing is due to MarketplaceKit which does not support MacOS yet.

@Charchoghlyan
Copy link
Author

@Xa69
11.1.0 is okay
I see only this
Failed to look up symbolic reference at 0x1018991b1 - offset 754711 - symbol symbolic _____Sg 14MarketplaceKit14AppDistributorO in /private/var/folders/3p/**/*

@Xa69
Copy link

Xa69 commented Aug 24, 2024

@Charchoghlyan Yes that is an expected error when you try to run it for MacOS as per my above comments, it's because MarketplaceKit is not supported for MacOS only iOS/iPadOS is supported as of now.

@malandr2
Copy link

Hi @Charchoghlyan, try updating to SDK version 11.9.0, it's expected that should resolve your issue.

@Charchoghlyan
Copy link
Author

Hi @malandr2 , okay, thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants