Reputation: 712
I love to work with full-screen mode Xcode, but there's one inconvenience,
If I run iPhone simulator, it is shown in other space.
Is there any way to run iPhone simulator over full-screen Xcode?
If then, I can work with happiness really!
Upvotes: 18
Views: 10016
Reputation: 264
In macOS Big Sur this is now supported, so you just go full screen with the Simulator window or drag it into split view as you would with any other window.
Upvotes: 0
Reputation: 1983
As others point out, Apple doesn't allow to run two full screen apps one over the other one. However, you could put them next to each other like this which already is an enhancement (at least for me):
I use VS Code instead of Xcode but the logic is the same. All you have to do is just to allow iOS Simulator to run in Full Screen by running the following command in terminal:
defaults write com.apple.iphonesimulator AllowFullscreenMode -bool YES
Upvotes: 5
Reputation: 870
To run simulators in full-screen mode, you need to enable fullscreen mode by executing the following command in your terminal:
defaults write com.apple.iphonesimulator AllowFullscreenMode -bool YES
*You need to restart the simulator in order to reflect the changes.
Upvotes: 4
Reputation: 89
diskutil list
and identify the id of your disk named Macintosh HD, it should be something like /dev/disk2s1
diskutil mount /dev/[YOUR_DISK_ID]
. If successful, keep going with the next step. If not, you probably got a message regarding APFS that the disk needs to be unlocked, so type diskutil apfs unlockVolume /dev/[YOUR_DISK_ID]
mkdir /Volumes/[YOUR_MAC_DRIVE_NAME]/AppleInternal
Now you can get out of the Recovery Mode and boot your Mac as usual.
Open and run your project on simulator. Now you can see a new bar menu item named Internal. There is an option to set simulator to fullscreen.Upvotes: 0
Reputation: 6242
Just so you know, you can now do this as of Xcode 9. You need to enable the Internal menu in iOS Simulator.
To do this:
Create the folder AppleInternal
in the root directory: sudo mkdir /AppleInternal
Restart all instances of the iOS Simulator.
Internal | Allow Fullscreen Mode
and ensure this option is ticked.After following these steps, you can enable fullscreen mode on the iOS simulator.
Information taken from: https://medium.com/flawless-app-stories/simulator-on-steroids-c12774ca6b
Upvotes: 1
Reputation: 1488
All you need to do is (in your simulator) go to window/stay In Front
. Just like this
Hope this helps!
Upvotes: 0
Reputation: 571
Don't know if anyone is still looking, but the best way is to use Xcode behaviors. In the Running section, under Starts, select Exit Full Screen. Then under Completes, select Enter Full Screen. Works great!
Upvotes: 0
Reputation: 440
You can change the Debug Workflow in Xcode to "Xcode Always Behind". When you are coding you can use full screen mode, when you are debugging, you will see Xcode in the background.
Upvotes: 0
Reputation: 283
This doesn't directly answer this question, but it's worth noting that under Xcode 4.6 at least the Organizer window will open on a second screen even if Xcode is running full-screen.
Also, I highly recommend Dash as a documentation viewer, as this can be set to 'HUD' window mode, and therefore be visible on a second monitor even when Xcode is full screen.
Still want to know how to do this with the Simulator
Upvotes: 0
Reputation: 699
I recommend going with BetterSnapTool or something similar. Then you can easily size the window to take up the full screen without losing the use of a second monitor or the ability to see Xcode and the simulator as you're debugging.
Upvotes: 0
Reputation: 1318
There doesn't seem to be any way to do this. I think part of the idea of having a full-screen mode is that you cannot have any other windows open on top of the full-screen window.
Try opening Xcode in full-screen mode, then open the organizer window, and you'll see what I mean. The organizer opens in its own full-screen mode space.
Which makes sense, even though it's inconvenient in this case. I think if Apple were to give the iOS simulator its own full-screen mode, that would be nicer than just throwing it up on a desktop.
It seems like the ideal solution would be for Apple to integrate the iOS simulator into the Xcode debugging environment, similar to what they did with Interface Builder in Xcode 4.
Upvotes: 14