Ошибка после добавления SDK google_mobile_ads в Swift с использованием CocoaPodsIOS

Программируем под IOS
Anonymous
Ошибка после добавления SDK google_mobile_ads в Swift с использованием CocoaPods

Сообщение Anonymous »

Я добавил google_mobile_ads sdk v11.6.0 в свой быстрый проект. Теперь, когда я запускаю проект, я получаю следующую ошибку

Код: Выделить всё

ld: warning: Could not find or use auto-linked library 'swiftXPC': library 'swiftXPC' not found
ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found
ld: warning: Could not find or use auto-linked framework 'MarketplaceKit': framework 'MarketplaceKit' not found
ld: Undefined symbols:
enum case for MarketplaceKit.AppDistributor.testFlight(MarketplaceKit.AppDistributor.Type) -> MarketplaceKit.AppDistributor, referenced from:
l007 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
l008 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
enum case for MarketplaceKit.AppDistributor.marketplace(MarketplaceKit.AppDistributor.Type) -> (Swift.String) -> MarketplaceKit.AppDistributor, referenced from:
l007 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
l008 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
enum case for MarketplaceKit.AppDistributor.other(MarketplaceKit.AppDistributor.Type) -> MarketplaceKit.AppDistributor, referenced from:
l007 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
l008 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
static MarketplaceKit.AppDistributor.current.getter : MarketplaceKit.AppDistributor, referenced from:
function signature specialization  of static GoogleMobileAds.GADMarketplaceKitSignals.appDistributor() async -> Swift.String in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
async function pointer to static MarketplaceKit.AppDistributor.current.getter : MarketplaceKit.AppDistributor, referenced from:
function signature specialization  of static GoogleMobileAds.GADMarketplaceKitSignals.appDistributor() async -> Swift.String in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
enum case for MarketplaceKit.AppDistributor.appStore(MarketplaceKit.AppDistributor.Type) -> MarketplaceKit.AppDistributor, referenced from:
l007 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
l008 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
type metadata accessor for MarketplaceKit.AppDistributor, referenced from:
l007 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
l008 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
nominal type descriptor for MarketplaceKit.AppDistributor, referenced from:
_symbolic _____Sg 14MarketplaceKit14AppDistributorO in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
__swift_FORCE_LOAD_$_swiftXPC, referenced from:
__swift_FORCE_LOAD_$_swiftXPC_$_GoogleMobileAds in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

когда я удаляю google_mobile_ads SDK из модулей, все работает нормально

Подробнее здесь: https://stackoverflow.com/questions/786 ... -cocoapods

Вернуться в «IOS»