ios - +[UIPasteboard _accessibilityUseQuickSpeakPasteBoard]: unrecognized selector sent to class -
i asked question on apple dev forum, still didn't answer.
we expirience 100% ios 8 devices crash:
+[uipasteboard _accessibilityusequickspeakpasteboard]: unrecognized selector sent class
the stack trace is:
thread : fatal exception: nsinvalidargumentexception 0 corefoundation 0x2889ec1f __exceptionpreprocess + 126 1 libobjc.a.dylib 0x36049c8b objc_exception_throw + 38 2 corefoundation 0x288a3f55 __cfexceptionproem 3 corefoundation 0x288a1def ___forwarding___ + 354 4 corefoundation 0x287d3df8 _cf_forwarding_prep_0 + 24 5 uiaccessibility 0x331fc157 +[uipasteboard_qsextras pasteboardwithname:create:] + 30 6 myapp 0x002eb507 -[tjeventoptimizer .cxx_destruct] 7 myapp 0x002eb28b -[tjeventoptimizer .cxx_destruct] 8 myapp 0x002f0c2b -[tjeventoptimizer .cxx_destruct] 9 myapp 0x002eeedb -[tjeventoptimizer .cxx_destruct] 10 foundation 0x295adb5b __nsthread__main__ + 1118 11 libsystem_pthread.dylib 0x3670ce93 _pthread_body + 138 12 libsystem_pthread.dylib 0x3670ce07 _pthread_start + 118 13 libsystem_pthread.dylib 0x3670ab90 thread_start + 8
despite fact, tapjoy captured in stack trace, their faq says ocaisonally wrong , has nothing tapjoy's code, rather ios 8 bug.
is correct?
what accessibility setting related crash?
this problem appears because tapjoy has used categories in static library (that's uipasteboard_qsextras
) solution super simple, need notify linker
1) click on project
2) click on target
3) open build settings
tab
4) search other linker flags
5) double click on other linker flags
6) add -objc
, -all_load
flags
7)
remove binary (delete device/simulator),
clean project (hitting cmd+shift+k
) and
build again (hitting cmd+b
).
you're ready go!
Comments
Post a Comment