You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open Flutter directory in VS Code on Mac OS X 10.14.6.
Context-click on ios directory > Open in Xcode
Nothing happens.
Logs
I see this log when I reproduce:
error 10:34:19.546912 -0800 Code Helper (Renderer) nw_path_close_fd Failed to close guarded necp fd 48 [9: Bad file descriptor]
Flutter extension is marked "not activated" when I Capture Logs (no actual log lines when I reproduced) but I'm not sure if that's related. It looks enabled in the Extensions UI.
If you try running that command from a terminal, does it work?
Ah, my Xcode is named Xcode_11-3.
open -a Xcode [path-to-file]
Unable to find application named 'Xcode'
You could change it to open [path-to-file] since that should also open in Xcode.
I'm okay with you closing this, too, since I'm not using the default app name.
If opening the file works directly, I'll change it to do that. I'll also see if I can improve how it fails if it doesn't work (silently doing nothing isn't a good experience - seems like we should be able to detect this and display a message).
Activity
DanTup commentedon Dec 19, 2019
I can't repro this - it seems to work ok. We look in the folder for
xcworkspace/xcodeprojfiles (preferringxcworkspace) and then open it with:If you try running that command from a terminal, does it work?
jmagman commentedon Dec 19, 2019
Ah, my Xcode is named Xcode_11-3.
You could change it to
open [path-to-file]since that should also open in Xcode.I'm okay with you closing this, too, since I'm not using the default app name.
DanTup commentedon Dec 19, 2019
If opening the file works directly, I'll change it to do that. I'll also see if I can improve how it fails if it doesn't work (silently doing nothing isn't a good experience - seems like we should be able to detect this and display a message).
Open Xcode project by filename instead of opening Xcode directly