Reputation: 36343
Does Xcode
have an area I can open up a terminal shell session inside Xcode
? Android Studio
has a window you can open up at the bottom by the console logcat
window that will start a terminal session. Does Xcode
have anything like this?
Upvotes: 113
Views: 133007
Reputation: 5953
Relatedly, now in Xcode 8, you can have your program run automatically in Terminal rather than using the Xcode Console. Just go to Edit Scheme > Run > Options and set Console at the bottom to Terminal.
And here's the Xcode 15.0 pulldown version:
Upvotes: 6
Reputation: 1568
Create executable shell script with the following contents and save it anywhere
#!/bin/bash
open -a Terminal "`pwd`"
$ chmod +x <YourShellScript>
Upvotes: 89
Reputation: 40030
Unfortunately there is no such a thing in Xcode
. We have to fall back to external Terminal
window.
If you really want to do it, you can add a build phase and run script that opens the Terminal
- but that might not be what you are looking for.
Upvotes: 59