gpt4 book ai didi

ios - Visual Studio 调试器无法连接到 iOS 模拟器中的远程 Apache Cordova 应用程序

转载 作者:行者123 更新时间:2023-11-29 01:46:51 25 4
gpt4 key购买 nike

我一直在尝试在 Windows 8.1 虚拟机中使用 Visual Studio 2015 RC 调试 Apache Cordova 应用程序。该应用程序使用 vs-mda-remote 在 MAC OS 主机的 iOS 模拟器中运行(我尝试过不同的 iPhone 版本),但调试总是超时。似乎没有正确的错误,只有以下错误:

Starting launch process C:\Program Files (x86)\nodejs\node.exe "C:\Users\User\AppData\Roaming\npm\node_modules\vs-tac\emulator.js" --platform ios --action launch --path

"C:\XXXXX\bld\ios\Debug\buildInfo.json" --serverUrl iMac-User.local:3000 --language pt-PT --cliVersion 5.1.1 --deployTarget "iPhone 5"

Timed out connecting debugger to remote Apache Cordova app. See Output window for JavaScript console output.

------ Cordova Tools 5.1.1 already installed.

emulated - Successfully sent to ios Simulator

Emulating app at /Users/user/remote-builds/builds/5689/cordovaApp for target iPhone 5

Asking to debug in remote iOS device for buildNumber 5689 in server iMac-User.local:3000...

Fail to debug remote iOS in order to compile C:\XXXXX\bld\ios\Debug\buildInfo.json to http://iMac-User.local:3000 :iPhone 5

我已经尝试使用 vs-mda-remote --secure false 和我在网上找到的其他一些建议来清理 cordova 的缓存。然而,似乎没有任何作用。这不是项目本身,因为我的一个 friend 能够调试它。他电脑上的配置似乎和我的一样。

对于可能出现的问题有什么想法吗?谢谢。

最佳答案

问题找到了,肯定是Homebrew安装有问题。所以我重新安装了它,并强制安装了ios-webkit-debug-proxy。这解决了我的问题,我现在可以调试应用程序了。

关于ios - Visual Studio 调试器无法连接到 iOS 模拟器中的远程 Apache Cordova 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31815779/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com