Ich habe eine iOS-App, als ich vor 4 Jahren Code zu programmieren begann. Jedes Jahr nach der neuen iOS-Version aktualisiere ich meine App mit dem neuen iOS und dem neuen AdMob SDK.iOS-App-Absturz nach der Aktualisierung von AdMob von v7.4.1 auf die neueste v7.8.1
Aber dieses Jahr werde ich verrückt! Wenn ich das GoogleMobileAds.framework auf die neue Version umstelle, stürzt die App nach jedem Aufruf von GADRequest ab. Selbst wenn ich versuche, die Version mit
NSLog zu erhalten (@ "Google Mobile Ads SDK-Version:% @", [GADRequest sdkVersion]);
Ich habe einen Absturz. Natürlich habe ich -ObjC in den Compiler-Flags. Ich habe versucht, die Verwendung des Framework Standalone zu ändern, um Pods zu verwenden, aber ich bekomme immer den gleichen Fehler. Ich befestige Ihnen den Stapel:
016-10-02 19:18:55.062 TheNameOfMayApp[13162:7700615] -[NSTaggedPointerString count]: unrecognized selector sent to instance 0xa00656c646e696b6
2016-10-02 19:18:55.073 TheNameOfMayApp[13162:7700615] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTaggedPointerString count]: unrecognized selector sent to instance 0xa00656c646e696b6'
*** First throw call stack:
(
0 CoreFoundation 0x0000000104dfe34b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010478021e objc_exception_throw + 48
2 CoreFoundation 0x0000000104e6df34 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x0000000104d83c15 ___forwarding___ + 1013
4 CoreFoundation 0x0000000104d83798 _CF_forwarding_prep_0 + 120
5 CoreFoundation 0x0000000104d7b044 -[NSSet initWithArray:] + 36
6 TheNameOfMayApp 0x0000000100fe3c70 GADIsAtLeastVersion + 11841
7 TheNameOfMayApp 0x0000000100fe177d GADIsAtLeastVersion + 2382
8 TheNameOfMayApp 0x0000000100fe15d9 GADIsAtLeastVersion + 1962
9 TheNameOfMayApp 0x0000000100fe142b GADIsAtLeastVersion + 1532
10 TheNameOfMayApp 0x0000000100f6b5e8 GADiTunesMetadataForFileAtPath + 2401
11 TheNameOfMayApp 0x0000000100f76ba8 GADGIDSignInInstance + 3464
12 TheNameOfMayApp 0x0000000100fafe77 GADDispatchAsyncSafeMainQueue + 45
13 libobjc.A.dylib 0x0000000104780efa CALLING_SOME_+initialize_METHOD + 19
14 libobjc.A.dylib 0x0000000104781126 _class_initialize + 554
15 libobjc.A.dylib 0x0000000104787c1d lookUpImpOrForward + 176
16 libobjc.A.dylib 0x0000000104797554 _objc_msgSend_uncached + 68
17 TheNameOfMayApp 0x0000000100ea421b -[MainViewController PonPublicidadAdMob] + 59
18 TheNameOfMayApp 0x0000000100ea393a -[MainViewController MuestraPublicidad] + 122
19 TheNameOfMayApp 0x0000000100ea4a69 -[MainViewController viewDidLoad] + 73
20 UIKit 0x000000010248b06d -[UIViewController loadViewIfRequired] + 1258
21 UIKit 0x000000010248b4a0 -[UIViewController view] + 27
22 TheNameOfMayApp 0x0000000100e96346 -[TheNameOfMayAppAppDelegate preparaPantallaInicialConiOS6] + 886
23 TheNameOfMayApp 0x0000000100e95ddd -[TheNameOfMayAppAppDelegate application:didFinishLaunchingWithOptions:] + 285
24 UIKit 0x00000001022e068e -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 290
25 UIKit 0x00000001022e2013 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4236
26 UIKit 0x00000001022e83b9 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1731
27 UIKit 0x00000001022e5539 -[UIApplication workspaceDidEndTransaction:] + 188
28 FrontBoardServices 0x000000010a6c276b __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24
29 FrontBoardServices 0x000000010a6c25e4 -[FBSSerialQueue _performNext] + 189
30 FrontBoardServices 0x000000010a6c296d -[FBSSerialQueue _performNextFromRunLoopSource] + 45
31 CoreFoundation 0x0000000104da3311 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
32 CoreFoundation 0x0000000104d8859c __CFRunLoopDoSources0 + 556
33 CoreFoundation 0x0000000104d87a86 __CFRunLoopRun + 918
34 CoreFoundation 0x0000000104d87494 CFRunLoopRunSpecific + 420
35 UIKit 0x00000001022e3db6 -[UIApplication _run] + 434
36 UIKit 0x00000001022e9f34 UIApplicationMain + 159
37 TheNameOfMayApp 0x0000000100e93d1e main + 62
38 libdyld.dylib 0x00000001065c168d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Können Sie mir helfen, bitte ???? Ich habe zwei Wochen damit verbracht, alle ähnlichen "Lösungen" hier in StackOverflow und in Google Groups auszuprobieren.
Danke !!!
Was ist die Instanz von '0xa00656c646e696b6'? Hast du es ausgedruckt? Ist es ein Tagged Pointer String? [Wenn versucht wird, eine Tagged Pointer-Zeichenfolge mit mehr als 60 Byte zu erstellen, schlägt sie fehl] (https://www.mikeash.com/pyblog/friday-qa-2015-07-31-getagged-pointer-strings. html) – Lefteris