Lesson 20: Manage and Troubleshoot Apps Flashcards
• Describe and support app types. • Manage app extensions and widgets in Notification Center. • Monitor and control processes and apps. • Explore various app troubleshooting techniques.
What is a Universal app?
Developers can compile their apps for both Mac computers with Apple silicon and Intel-based Mac computers.
The resulting app is called a Universal app.
What is Rosetta?
Rosetta is a translation process for Mac computers with Apple silicon.
With Rosetta, a Mac with Apple silicon can use apps (and other kinds of code like plug-ins, add-ons, and extensions) that were created for Intel-based Mac computers and not updated for Apple silicon.
How do you install Rosetta?
If macOS detects that the code you’re trying to run hasn’t been updated for Apple silicon, macOS asks you to first install Rosetta.
Simply click Install in the dialog; You won’t need to re-install Rosetta.
From the Terminal, issue the following command:softwareupdate --install-rosetta --agree-to-license
What functionality do app extensions add to macOS Big Sur?
App extensions let apps from different developers interact with each other in such way that one app’s features appear that they are built into the other app.
How do you install new app extensions?
How do you manage app extension visibility after they are installed?
App extensions are bundled with the app that offers them, so they install automatically.
You can enable or disable installed app extensions from the Extensions preferences.
How can you identify the apps that are installed on your Mac?
You can use System Information to scan the appropriate app locations and return a list of installed apps.
In macOS Big Sur, what app do you use to examine open apps?
Use Activity Monitor to monitor open processes and apps.
How can Activity Monitor help you identify if a Mac has sufficient physical memory for the task?
Activity Monitor uses the Swap Used and Compressed memory statistics to display the historical memory use since the last startup.
A low swap value is acceptable, but a high value would indicate that a Mac doesn’t have enough real memory to meet the app’s demands.
Which steps should you take when you troubleshoot app issues?
General app troubleshooting steps include the following:
- Restart the app
- Open another known-working document
- Try another app
- Try another user account
- Check diagnostic reports and log files
- Delete cache files
- Replace preference files
- Replace app resources
Which three ways can you forcibly quit an app from the graphical interface?
The three ways to forcibly quit an app from the graphical interface are as follows:
- From the Force Quit Applications dialog
- From the Dock
- From the Activity Monitor app
What does the diagnostic reporting feature do?
The diagnostic reporting feature automatically creates a diagnostic report log any time an app crashes or doesn’t respond.
You can view the diagnostic report immediately or view it later in the /Applications/Utilities/Console.app.
It’s reported to Apple through the Internet.
Which file format is often used for preference files?
How can you view the content of this file type?
Most app preferences are property lists, which are XML files that have the .plist
filename extension.
You can view the content of these files using Quick Look and edit them using Xcode, which you can get from the App Store.
Where are app preferences stored?
Application preferences are almost always stored in a user’s Library folder in the ~/Library/Preferences
folder.
Newer sandboxed apps must always store their preferences in a ~/Library/Containers/{Bundle ID}/Data/Library/Preferences
folder, where Bundle ID is the unique bundle identifier for the app.
What steps should you take to replace corrupted app preferences?
Take the following steps to replace corrupted app preferences:
- Quit the problematic app
- Rename the app’s preference file
- Use Activity Monitor to quit the user’s
cfprefsd
process - Re-launch the problematic app
The app creates a new preference file when re-launched.
If the issue is resolved — and critical app settings aren’t also removed — delete the renamed app preference file.