Hi everyone,
I’m encountering a build error when trying to compile my Solar2D project for iOS. The issue seems related to GoogleMobileAds and the arm64 architecture. Here’s the error output:
GoogleMobileAds(GADMarketplaceKitSignals.o)
(maybe you meant: __swift_FORCE_LOAD_$_swiftXPC_$_GoogleMobileAds)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
There are also warnings about missing libraries and frameworks:
arduino
ld: warning: Could not find or use auto-linked library 'swiftXPC'
ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes'
ld: warning: Could not find or use auto-linked framework 'MarketplaceKit'
And a bunch of undefined symbols related to MarketplaceKit
:
Undefined symbols for architecture arm64:
"_$s14MarketplaceKit14AppDistributorO10testFlightyA2CmFWC", referenced from:
l007 in GoogleMobileAds(GADMarketplaceKitSignals.o)
l008 in GoogleMobileAds(GADMarketplaceKitSignals.o)
...
Has anyone run into this issue before or have suggestions on how to resolve it? I’m using Solar2D with admob, and it seems like the linker is failing due to missing symbols for MarketplaceKit
and swiftXPC
.
Any help or guidance would be greatly appreciated!
This is my build.settings:
plugins =
{
["plugin.utf8"] = { publisherId = "com.coronalabs" },
["plugin.OneSignal"] = { publisherId = "com.onesignal" },
["plugin.notifications.v2"] = { publisherId = "com.coronalabs" },
["plugin.admob"] = { publisherId = "com.coronalabs" },
['plugin.att'] = { publisherId = 'com.solar2d' }
},
Thanks in advance!