You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "erha19 (JIRA)" <ji...@apache.org> on 2018/05/03 08:45:00 UTC

[jira] [Commented] (WEEX-329) debug with iOS simulator cause error

    [ https://issues.apache.org/jira/browse/WEEX-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16462121#comment-16462121 ] 

erha19 commented on WEEX-329:
-----------------------------

There has some error to run debugger with the simulator,  for now, you should use [weex playground App|http://weex.apache.org/tools/playground.html] scan the QRcode to start your debugger, and I will try to fix it on the next version of  `weex-debugger`, when the new version is released, you will see the update prompt in the console, even if you only need to run the update command.

> debug with iOS simulator cause error
> ------------------------------------
>
>                 Key: WEEX-329
>                 URL: https://issues.apache.org/jira/browse/WEEX-329
>             Project: Weex
>          Issue Type: Bug
>          Components: iOS
>            Reporter: kele
>            Assignee: xingZhang
>            Priority: Major
>
> step1. run 'weex debug'
> step2. click qrcode 
> error log: 
> 19:53:19 : Error: Could not create simulator with name 'weex-devtool iPhone 6', device type id 'iPhone 6' and runtime id 'com.apple.CoreSimulator.SimRuntime.iOS-7-1'. Reason: 'simctl error running 'create': An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=162):
> Incompatible device'
> 19:53:19 : The simulator debug need Xcode environment, you can run `simctl --version` to check if you have the correct environment.
> environment: 
> simctl --version
> -bash: simctl: command not found
> xcrun simctl --version
> @(#)PROGRAM:simctl  PROJECT:CoreSimulator-518.19
> weex -version
>    v1.3.5
>  - weexpack : v1.2.3
>  - weex-debugger : v1.0.11
>  - weex-builder : v0.4.0
>  - weex-previewer : v1.5.1
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)