Closed mkaulfers closed 1 year ago
Wanted to get back here and share an update. I fixed the tasks.json
by manually toying with the xcodebuild
and I am now getting build succeeded, however it's not deploying it to the simulator.
{
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "process",
"command": "xcodebuild",
"args": [
"-configuration", "Debug",
"-scheme", "Summit Pro",
"-sdk", "${command:ios-debug.targetSdk}",
"-target", "iOS",
"-arch", "arm64"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Thanks for reporting this, glad you could fix the build issue.
For the deploying to simulator issue, can you please mention the logs as well? You can get the logs from navigating to the Output panel, selecting "iOS Debug" from the menu. The logs might help giving more details on what might've gone wrong while trying to install.
@nisargjhaveri thanks for replying, I figured out that the issue was related to the build path. They did not match so it would fail to deploy to the simulator, despite building successfully. I ended up correcting that and viola, it's working now. Final question, is it possible to get the terminal to output what XCode would normally display? I looked through a few settings and couldn't find anything to show the app specific run-time logs.
Final question, is it possible to get the terminal to output what XCode would normally display? I looked through a few settings and couldn't find anything to show the app specific run-time logs.
Do you mean the logs while running the app? That should already be visible in the "Debug Console" when running.
I have the following
tasks.json
And the following
launch.json
I also have installed the
Swift
andCodeLLDB
extensions.