macOS FAQ
How do I log out?
In the bar at the top of the screen, click the menu under the Apple logo, which includes "Log out".
How do I launch the text terminal?
You can launch the text terminal as follows:
- Open the Finder app (the first smiling face icon in the bottom bar).
- I click on Applications.
- I click on Applications and click on Utilities.
- I click on Terminal.
A new terminal window is created by clicking File → New Shell. The menu is at the top of the screen.
How to use XCode and iOS Simulator?
The XCode programming environment uses the iOS Simulator virtualization tool to run code on iOS. It stores its files in the
~/Library/Developer/CoreSimulator
directory in the user's home directory, which introduces two problems in an FI environment:
- the files are thus located on a network volume accessible via NFS, which iOS Simulator does not support.
- the files are counted against the user's disk quota and, due to their size, can quickly exhaust it
The solution is to create a local directory where the application is stored and redirect iOS Simulator to it. This can be accomplished by running the following commands in the terminal:
mkdir /tmp/$USER
mkdir -p ~/Library/Developer
rm -rf ~/Library/Developer/CoreSimulator
ln -s /tmp/$USER ~/Library/Developer/CoreSimulator
If you log in to another machine, you need to execute the
mkdir
step again, as it is a local directory on that machine. When you have finished working, it is advisable to delete this directory (
rm -rf /tmp/$USER
).
Where to find help?
If you do not know what to do and cannot solve your problem on your own, you can write to
unixT0azANwIP@fi-Lhjr6v6E.muni2erg_QnXj.cz
, where we will try to help you.