admob-freeを使って、admobを表示するサンプルをmonacaに用意し、iosをビルドし、home上にiosアプリができたので、
開こうとしたのですが、monacaのログイン画面が一瞬出て落ちました。
サンプルに使ったadmob
https://gitlab.com/ratson/cordova-admob-sdk
https://github.com/ratson/cordova-plugin-admob-free
試してみたこと
アプリが落ちてところの、ログを見たところcrashが起こっており、以下の通りでした。
以下のようにスレッド0でエラーが起こってました。
libsystem_kernel.dylib 0x00000001840592e0 __pthread_kill + 8
そこで検索してみたのですが、
https://github.com/mobxjs/mobx-react/issues/546
monacaの結果でなく、対処方法がわかりませんでした。
androidでは
バナー、インステ、リワード広告表示できてます。
ios全体ログ
Incident Identifier: F0B41A25-B2CB-4C77-B7D4-3C14D65828C9 CrashReporter Key: b0d37a4545b731d3d8df7d5be9d9b349483f959a Hardware Model: iPhone7,2 Process: admob-free [445] Path: /private/var/containers/Bundle/Application/FB7FF9D4-6FC6-4A60-AD78-408C327ED36E/admob-free.app/admob-free Identifier: com.custom1.admob-free Version: 1.0.0 (1.0.0) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.custom1.admob-free [638] Date/Time: 2020-06-02 20:02:12.2796 +0900 Launch Time: 2020-06-02 20:02:11.2308 +0900 OS Version: iPhone OS 11.4.1 (15G77) Baseband Version: 6.80.00 Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0 Application Specific Information: abort() called Filtered syslog: None found Last Exception Backtrace: 0 CoreFoundation 0x1845d2d8c __exceptionPreprocess + 228 1 libobjc.A.dylib 0x18378c5ec objc_exception_throw + 55 2 CoreFoundation 0x1845d29f0 -[NSException raise] + 11 3 admob-free 0x100c4ee9c 0x100a5c000 + 2043548 4 admob-free 0x100c4fb00 0x100a5c000 + 2046720 5 libdispatch.dylib 0x183ec4aa0 _dispatch_call_block_and_release + 23 6 libdispatch.dylib 0x183ec4a60 _dispatch_client_callout + 15 7 libdispatch.dylib 0x183ed165c _dispatch_main_queue_callback_4CF$VARIANT$mp + 1011 8 CoreFoundation 0x18457b070 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 11 9 CoreFoundation 0x184578bc8 __CFRunLoopRun + 2271 10 CoreFoundation 0x184498da8 CFRunLoopRunSpecific + 551 11 GraphicsServices 0x18647e020 GSEventRunModal + 99 12 UIKit 0x18e4b8758 UIApplicationMain + 235 13 admob-free 0x100a624bc 0x100a5c000 + 25788 14 libdyld.dylib 0x183f29fc0 start + 3 Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libsystem_kernel.dylib 0x00000001840592e0 __pthread_kill + 8 1 libsystem_pthread.dylib 0x00000001841fa288 pthread_kill$VARIANT$mp + 376 2 libsystem_c.dylib 0x0000000183fc7d0c abort + 140 3 libc++abi.dylib 0x00000001837632c8 __cxa_bad_cast + 0 4 libc++abi.dylib 0x0000000183763470 default_unexpected_handler+ 5232 () + 0 5 libobjc.A.dylib 0x000000018378c8d4 _objc_terminate+ 35028 () + 124 6 libc++abi.dylib 0x000000018377d37c std::__terminate(void (*)+ 111484 ()) + 16 7 libc++abi.dylib 0x000000018377cccc __cxxabiv1::exception_cleanup_func+ 109772 (_Unwind_Reason_Code, _Unwind_Exception*) + 0 8 libobjc.A.dylib 0x000000018378c720 _objc_exception_destructor+ 34592 (void*) + 0 9 CoreFoundation 0x00000001845d29f0 -[NSException init] + 0 10 admob-free 0x0000000100c4ee9c 0x100a5c000 + 2043548 11 admob-free 0x0000000100c4fb00 0x100a5c000 + 2046720 12 libdispatch.dylib 0x0000000183ec4aa0 _dispatch_call_block_and_release + 24 13 libdispatch.dylib 0x0000000183ec4a60 _dispatch_client_callout + 16 14 libdispatch.dylib 0x0000000183ed165c _dispatch_main_queue_callback_4CF$VARIANT$mp + 1012 15 CoreFoundation 0x000000018457b070 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12 16 CoreFoundation 0x0000000184578bc8 __CFRunLoopRun + 2272 17 CoreFoundation 0x0000000184498da8 CFRunLoopRunSpecific + 552 18 GraphicsServices 0x000000018647e020 GSEventRunModal + 100 19 UIKit 0x000000018e4b8758 UIApplicationMain + 236 20 admob-free 0x0000000100a624bc 0x100a5c000 + 25788 21 libdyld.dylib 0x0000000183f29fc0 start + 4 Thread 1: 0 libsystem_kernel.dylib 0x0000000184059d78 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x00000001841f7eb4 _pthread_wqthread + 928 2 libsystem_pthread.dylib 0x00000001841f7b08 start_wqthread + 4 Thread 2: 0 libsystem_kernel.dylib 0x0000000184059d78 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x00000001841f80a0 _pthread_wqthread + 1420 2 libsystem_pthread.dylib 0x00000001841f7b08 start_wqthread + 4 Thread 3: 0 libsystem_pthread.dylib 0x00000001841f7b04 start_wqthread + 0 Thread 4: 0 libsystem_kernel.dylib 0x0000000184059d78 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x00000001841f7eb4 _pthread_wqthread + 928 2 libsystem_pthread.dylib 0x00000001841f7b08 start_wqthread + 4 Thread 5 name: com.apple.uikit.eventfetch-thread Thread 5: 0 libsystem_kernel.dylib 0x0000000184037de8 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x0000000184037c60 mach_msg + 72 2 CoreFoundation 0x000000018457ae40 __CFRunLoopServiceMachPort + 196 3 CoreFoundation 0x0000000184578908 __CFRunLoopRun + 1568 4 CoreFoundation 0x0000000184498da8 CFRunLoopRunSpecific + 552 5 Foundation 0x0000000184f0d674 -[NSRunLoop+ 34420 (NSRunLoop) runMode:beforeDate:] + 304 6 Foundation 0x0000000184f0d4dc -[NSRunLoop+ 34012 (NSRunLoop) runUntilDate:] + 84 7 UIKit 0x000000018e19d768 -[UIEventFetcher threadMain] + 136 8 Foundation 0x000000018501defc __NSThread__start__ + 1040 9 libsystem_pthread.dylib 0x00000001841f9220 _pthread_body + 272 10 libsystem_pthread.dylib 0x00000001841f9110 _pthread_body + 0 11 libsystem_pthread.dylib 0x00000001841f7b10 thread_start + 4 Thread 6: 0 libsystem_pthread.dylib 0x00000001841f7b04 start_wqthread + 0 Thread 7: 0 libsystem_pthread.dylib 0x00000001841f7b04 start_wqthread + 0 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x00000001011ec1c7 x4: 0x0000000183782abd x5: 0x000000016f3a1550 x6: 0x000000000000006e x7: 0xffffffffffffffec x8: 0x0000000008000000 x9: 0x0000000004000000 x10: 0x00000001841fa110 x11: 0x0000000000000003 x12: 0xffffffffffffffff x13: 0x0000000000000001 x14: 0x0000000000000000 x15: 0x0000000000000010 x16: 0x0000000000000148 x17: 0x0000000000000300 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x00000001b6964b40 x21: 0x000000016f3a1550 x22: 0x0000000000000303 x23: 0x00000001b6964c20 x24: 0x00000001b6964c20 x25: 0x0000000101201100 x26: 0x0000000000000014 x27: 0x0000000000000000 x28: 0x0000000002ffffff fp: 0x000000016f3a14b0 lr: 0x00000001841fa288 sp: 0x000000016f3a1480 pc: 0x00000001840592e0 cpsr: 0x00000000 Binary Images: 0x100a5c000 - 0x100d3ffff admob-free arm64 <23dd69640a8d3325aad9955d76312795> /var/containers/Bundle/Application/FB7FF9D4-6FC6-4A60-AD78-408C327ED36E/admob-free.app/admob-free 0x101068000 - 0x1010a3fff dyld arm64 <b15e536a710732dabfafece44c5685e4> /usr/lib/dyld 0x183707000 - 0x183708fff libSystem.B.dylib arm64 <0f3f5f4ea60d3d4d84af311421f67108> /usr/lib/libSystem.B.dylib 0x183709000 - 0x183761fff libc++.1.dylib arm64 <e6172d25b5d63239879410136730d916> /usr/lib/libc++.1.dylib 0x183762000 - 0x183783fff libc++abi.dylib arm64 <40c62b02df253630845890510fe3f773> /usr/lib/libc++abi.dylib 0x183784000 - 0x183e3ffff libobjc.A.dylib arm64 <eb1135b2bde93b69b96e42ca98200183> /usr/lib/libobjc.A.dylib 0x183e40000 - 0x183e45fff libcache.dylib arm64 <a922e78994f33bb6a85162f25a9c7965> /usr/lib/system/libcache.dylib 0x183e46000 - 0x183e51fff libcommonCrypto.dylib arm64 ~略~
あなたの回答
tips
プレビュー