大佬教程收集整理的这篇文章主要介绍了swift – 当尝试进行涉及webview的UI测试时,Xcode崩溃,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在使用Xcode 9.以及FBSDKLoginKit和FBSDKCoreKit.
重现步骤:
1)拥有一个带有webview的应用程序
2)点击记录UI测试
3)单击webview范围内的任意位置
这种行为有原因吗?
我是否需要更改Xcode中的设置才能记录Web视图交互?
下面是Xcode崩溃时收到的错误消息.
Process: Xcode [70544] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 9.3 (14154) Build Info: IDEFrameworks-14154000000000000~2 App Item ID: 497799835 App External ID: 826408812 Code Type: X86-64 (NativE) Parent Process: ??? [1] Responsible: Xcode [70544] User ID: 501 Date/Time: 2018-05-21 14:04:50.053 -0400 OS Version: Mac OS X 10.13.4 (17E199) Report Version: 12 Anonymous UUID: 335CE1E7-B5AB-F717-E6D0-019AF52B3708 Sleep/Wake UUID: 7824F1AB-C514-4609-A447-F15EA9C86C84 Time Awake Since Boot: 99000 seconds Time Since Wake: 1800 seconds System Integrity Protection: enabled Crashed Thread: 18 Dispatch queue: XCUIRecorder_iOs.processingQueue Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000,0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: ProductBuildVersion: 9E145 UNCAUGHT EXCEPTION (NSInternalInconsistencyException): First snapshot has type Other: Other,0x7f9d8c64aaf0,{{0.0,0.0},{0.0,0.0}} UserInfo: (null) Hints: BACktrace: 0 __exceptionPreprocess (in CoreFoundation) 1 DVTFailureHintexceptionPreprocessor (in DVTFoundation) 2 objc_exception_throw (in libobjc.A.dylib) 3 +[NSException raise:format:arguments:] (in CoreFoundation) 4 -[NSAssertionHandler handleFailureInMethod:object:file:linenumber:description:] (in Foundation) 5 +[XCUIRecorderNodeFinder nodeToFindElementForSnapshots:language:platform:] (in XCTest) 6 -[XCUIRecorderUtilities nodeToFindElementForSnapshots:] (in XCTest) 7 __177-[XCUIRecorder_iOS _XCT_recordedEventNames:timestamp:duration:startLOCATIOn:startElementSnapshot:startApplicationSnapshot:endLOCATIOn:endElementSnapshot:endApplicationSnapshot:]_block_invoke (in XCTest) 8 _dispatch_call_block_and_release (in libdispatch.dylib) 9 _dispatch_client_callout (in libdispatch.dylib) 10 _dispatch_queue_@R_675_9464@l_drain (in libdispatch.dylib) 11 _dispatch_queue_invoke (in libdispatch.dylib) 12 _dispatch_root_queue_drain_deferred_wlh (in libdispatch.dylib) 13 _dispatch_workloop_worker_thread (in libdispatch.dylib) 14 _pthread_wqthread (in libsystem_pthread.dylib) 15 start_wqthread (in libsystem_pthread.dylib) ëØ$ïˇˇ abort() called Application Specific Signatures: NSInternalInconsistencyException
以上是大佬教程为你收集整理的swift – 当尝试进行涉及webview的UI测试时,Xcode崩溃全部内容,希望文章能够帮你解决swift – 当尝试进行涉及webview的UI测试时,Xcode崩溃所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。