WebKit Threading Violation - initial use of WebKit from a secondary thread in UI Automation
问题 When I tried to run my automation scripts through the terminal with Xcode 6 I got this error message: WebKit Threading Violation - initial use of WebKit from a secondary thread. Can someone help me to run the automation scripts through terminal or instrument in Xcode 6. 回答1: I see the same message infrequently -- even when things run successfully. You may be having troubles running instruments from command line because of changes to command line utilities for XCode 6. Check out UIAutomation