Lỗi Google AdMob sau khi cập nhật lên Xcode 11 Swift 5.1


9

Vì tôi đã cập nhật lên Xcode 11, các quảng cáo xen kẽ trong ứng dụng của tôi sẽ không tải nữa. (Trước đó mọi thứ đều hoạt động tốt. Ứng dụng thậm chí đã được phát hành trên App Store. Chúng tôi hiện đang tạo một phiên bản cập nhật của ứng dụng)

Tôi đã cài đặt Google AdMobs SDK thông qua Cocoapods và cập nhật phiên bản này lên phiên bản mới nhất. Vẫn không thành công. (Tôi đã làm theo tất cả các bước trong hướng dẫn của Google, cách triển khai quảng cáo xen kẽ) Đây là những thông báo lỗi tôi nhận được từ bảng điều khiển:

    2019-10-10 21:42:35.543249+0100 BuszZer[76592:876619] <Google> To get test ads on this device, set: request.testDevices = @[ kGADSimulatorID ];
    2019-10-10 21:42:35.599222+0100 BuszZer[76592:876796] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
    2019-10-10 21:42:35.599426+0100 BuszZer[76592:876796] [Client] Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
    2019-10-10 21:42:35.599610+0100 BuszZer[76592:876787] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
    2019-10-10 21:42:35.600170+0100 BuszZer[76592:876787] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
    2019-10-10 21:42:35.600215+0100 BuszZer[76592:876796] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
    2019-10-10 21:42:35.601185+0100 BuszZer[76592:876787] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
    2019-10-10 21:42:35.601435+0100 BuszZer[76592:876796] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
    2019-10-10 21:42:35.608414+0100 BuszZer[76592:876619] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x60000360a1a0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
    2019-10-10 21:42:35.610662+0100 BuszZer[76592:876789]  - <Google>[I-ACS025031] AdMob App ID changed. Original, new: (nil), ca-app-pub-9056820091768756~5451481231
    2019-10-10 21:42:35.611337+0100 BuszZer[76592:876789]  - <Google>[I-ACS023007] Analytics v.60102000 started
    2019-10-10 21:42:35.611517+0100 BuszZer[76592:876789]  - <Google>[I-ACS023008] To enable debug logging set the following application argument: -APMAnalyticsDebugEnabled (see https://help.apple.com/xcode/mac/8.0/#/dev3ec8a1cb4)

Có ai có vấn đề hoặc kinh nghiệm tương tự và biết làm thế nào để giải quyết chúng? Bất kỳ trợ giúp được đánh giá cao. Cảm ơn rất nhiều!


Tôi có những lỗi này trong bảng điều khiển gỡ lỗi của XCode 11.1 cho quảng cáo thử nghiệm biểu ngữ của tôi từ AdMob. Quảng cáo thử nghiệm đang tải trong trình giả lập và thiết bị.
Tèo

Câu trả lời:


0

Hãy thử chạy lệnh này trong một thiết bị đầu cuối:

xcrun simctl spawn booted log config \
   --mode "level:off" \
   --subsystem com.apple.CoreTelephony

5
Sẽ rất hữu ích để giải thích những gì lệnh này làm và cách nó giúp giải quyết câu hỏi.
Anton
Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookieChính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.