ionic-team / ionic-team/ionic-cli

The issue is resolved, but now I get this error - not sure if it is related or a new issue.

未關閉
#4,767 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
triage
主要語言
TypeScript
星號
2k
分支
682
PR 合併指標
30 天內沒有已合併 PR

描述

The issue is resolved, but now I get this error - not sure if it is related or a new issue.
Error: Command failed: xcrun simctl list --json

$ ionic cordova build ios
> ionic-v1 build
[12:49:26] Cannot run sass task: missing in gulpfile.js
> cordova build ios
Running command: /Users/dev/mobileapp/hooks/after_prepare/010_add_platform_class.js /Users/dev/mobileapp
add to body class: platform-ios
(node:62271) UnhandledPromiseRejectionWarning: Error: Command failed: xcrun simctl list --json
dyld: Symbol not found: _SimDeviceBootKeyDisabledJobs
Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/simctl
Expected in: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator
in /Applications/Xcode.app/Contents/Developer/usr/bin/simctl

at ChildProcess.exithandler (child_process.js:291:12)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:961:16)
at Socket.stream.socket.on (internal/child_process.js:380:11)
at Socket.emit (events.js:182:13)
at Pipe._handle.close (net.js:599:12)

_Originally posted by @dave-k in https://github.com/ionic-team/ionic-cli/issues/3462#issuecomment-409702069_

貢獻指南

開啟貢獻指南

研究方向

Start with the reported `ionic cordova build ios` invocation and the `xcrun simctl list --json` failure, including the `after_prepare/010_add_platform_class.js` hook output. No repository files or tests are named; determine whether this is reproducible in ionic-cli and whether the reported failure is an ionic-cli issue or an environment-related problem.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
node.js
領域
cli, mobile-dev
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
15/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。