简体   繁体   中英

Build successful but unable to run on iOS simulator

I am making a demo of cordova app. The console log is showing me build successful but after sometime it shows this error and run fails :

2016-07-30 09:34:47.609 instruments[9268:1431174] WebKit Threading Violation - initial use of WebKit from a secondary thread. Instruments Usage Error: Unknown device specified: "B7257830-92A2-4C85-A4BA-342D7237F9A8"

Known Devices:

test's iPhone (8.4.1) [7fdfcc5aaeb179fdb53a86343ba18796a1825bc4]

The error is to replace UDID with known devices but I am unable find the file where it is mentioned.

Please share the path of file or file name or anything related to this error. Thanks in advance.

I solved this error simply following two steps.

Step 1: Go to Run Options and select Run Configuration as image shown below.

在此处输入图片说明

Step 2 : Now a window will open as shown below & select your device from simulator list.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM