macOS is the operating system for Mac.

macOS Documentation

Posts under macOS tag

1,418 Posts
Sort by:
Post not yet marked as solved
3 Replies
1.2k Views
Definitely want to install it. Wondering if there is a good guide to doing a dual boot. I have 100GBs of free space on my machine so should not be a problem. Mainly want to dual boot because I still have to create store releases.
Posted
by
Post not yet marked as solved
43 Replies
72k Views
Installed Mojave, and worked fine at first. Did a restart and now I can't get past the following message.It boots,. WiFi setting screen appears, then when I try proceed it says:A critical software update is required for your Mac, but an error was encountered while installing this update.Your Mac can't be used until this update is installed[Shut down] [try again]But it never passes that point.Any thoughts?I can't reinstall high Sierra either.
Posted
by
Post not yet marked as solved
33 Replies
15k Views
I enrolled my Parallels clean Mojave install in the macOS Developer Beta via the Beta Utility, and when it runs software update, it simply doesn't say that it found an update available. It says that it is up-to-date with the current release version. It does say that I am enrolled in the beta in the SU preference pane. Ideas?-Aaron
Posted
by
Post marked as solved
67 Replies
63k Views
The App Store app is logged out, and logging in with the correct credentials spins for a moment then leaves the app without being logged in.As of now I'm suspecting a filesystem issue, perhaps permissioning, as I've seen other things that might point that way.Anyone else seeing this?
Posted
by
Post not yet marked as solved
1 Replies
528 Views
Has anyone experienced the Facetime app seemingly randomly launching on it's own? I have yet to find a pattern or anything that could be triggering it in order to replicate. I'm at a loss for where to start with inspecting further. I've observed it without being near the keyboard or mouse. It has happened about 10 times so far over the past week. I have never actually used the app and have Facetime disabled. There is no suggestion of an incoming or outgoing calls. Other apps that have been open when this happened: Filemaker, Safari, Mail, Adium, Messages, and VMWare Fusion. I have Sophos Home installed and would hope it would detect an intrusion.
Posted
by
Post not yet marked as solved
11 Replies
41k Views
I installed Mac OS Catalina 10.15 beta.When I go to Finder and tap on folders in the sidebar, an alert window appears saying the folder "can't be opened because the original item can't be found".I have tried the following...- Force Quit and restart Finder.- Dragging and dropping a folder called "Data" to the desktop. It just disappears from Finder without appearing on the desktop.- Rebook Mac in recovery mode > Disk Utility > Mount Disks > First Aid > Restart. When I do this I see two disks that can be mounted.Macintosh HDMacintosh HD - DataI have tried mounting them together and separately without success.Any suggestions to fix this?
Posted
by
Post not yet marked as solved
17 Replies
19k Views
Hi all, For the last couple of betas of Catalina I've noticed that the process "syspolicyd" chews through CPU usage without ever dropping. The process seems to start up by itself and then consume a huge amount of CPU (often 98%) causing my Macbook Pro to spin up fans to try and cool it.It doesn't seem to stop by itself so I've resorted to killing the process manually but I wondered if there's a known issue or fix for this?
Posted
by
Post not yet marked as solved
366 Replies
238k Views
Hello, is it anyone here ( or on this planet ) that can help with this issue on Catalina Mac OS 10.15.5 Beta 3 (19F72f).I am using MacBook Pro 16 inches. 😟
Posted
by
Post not yet marked as solved
16 Replies
11k Views
Anybody having issues getting past activation lock installing Big Sur? I am getting - "Activation Lock status could not be determined because the activation lock server cannot be reached." I know it is connected to the servers as I can ping the Macbook Pro from my iphone "Find My"
Posted
by
Post marked as solved
3 Replies
16k Views
Hey Developers! I love web design and am trying to test out some CSS, I am currently using a MacBook Pro 13" (2020 Version), I only use Safari and I want to know if I'm able to simulate other devices like a Windows 10 PC, an Android phone, an iPhone, or an iPad. I do own an iPhone and iPad but wanted to do it all on my Mac, I've tried searching for Safari extensions to do this but so far I haven't found one. If you could give me some suggestions or a link to what I should use it would be appreciated. Thanks, Mateo
Posted
by
Post not yet marked as solved
101 Replies
127k Views
This has been a bug for a while now on Mac OS. When you sync your desktop/documents folders with iCloud at random moments it gets stuck and never finish uploading. The folder says "waiting to upload" indefinitely. I notice it happens more often when you do a git commit on a folder that is synced with iCloud. Are there any work around for that?
Posted
by
Post not yet marked as solved
6 Replies
14k Views
Running on: iMac 27" 5k late 2015 - 64gb ram and a 16tb Pegasus Promise2 R4 raid5 via Thunderbolt. After trying Big Sur - found issues with Luminar Photo app, decided to return to Catalina on the iMac. Reformatted my internal drive and reinstalled Catalina 15.5 and reformatted the raid. But I keep getting the following message upon restarting: "Incompatible Disk. This disk uses features that are not supported on this version of MacOS" and my Pegasus2 R4 portion no longer appears on the desktop or in Disk Utility... Looked into this and discovered that it may be an issue of Mac OS Extended vs APFS The iMac was formatted to APFS prior to installing OS11 so I reformatted to APFS when returning to Catalina. The issues persisted so I re-reformatted from a bootable USB - this time to Mac OS Extended (journaled) and the issues seems to be resolved. The iMac runs slower on MacOS Ext, but it is running and the Raid is recognised... I'd love to go back to APFS but am afraid it will "break" things. Any thought on this would be welcome. Thanks Nick
Posted
by
Post not yet marked as solved
3 Replies
5.2k Views
I accidentally removed “Flagged" folder out of sidebar in Mail. I can create a smart mailbox for flagged emails but that doesn’t provide the dropdown you get from the “built-in” Flagged folder. Of course, all of my flagged email stayed flagged, just no "special" stock Flagged folder. Any ideas on how to restore this folder? Thanks in advance! Mark
Posted
by
Post not yet marked as solved
22 Replies
12k Views
Hi There, I'm experiencing some frustration with Bug Sur and I wondered if this is something anyone else has experienced.. Essentially - I've noticed that when the battery goes below 10pc, it doesn't notify you. So, you can be working away in full screen (which I do, frequently) or in the middle of work calls and the Mac just "dies". In Catalina a notification came up saying that your battery was low and to plug it in - but not Big Sur (yet) Please, put this back in - I don't want to have to keep checking my status bar all the time
Posted
by
Post not yet marked as solved
5 Replies
4.4k Views
Hi there, I'm working on an app that contains a mini system monitoring utility. I would like to list the top CPU-using processes. As Quinn “The Eskimo!” has repeatedly cautioned, relying on private frameworks is just begging for maintenance effort in the future. Ideally, I want to go through public headers/frameworks. I've gone to great lengths to try to find this information myself, and at this point I'm just struggling. I detail my research below. Any pointers in the right direction would be much appreciated! Attempts Libproc First I looked at libproc. Using proc_pidinfo with PROC_PIDTHREADINFO, I'm able to get each thread of an app, with its associated CPU usage percentage. Summing these, I could get the total for an app. Unfortunately, this has two downsides: Listing a table of processes now takes O(proces_count) rather than just O(process_count), and causes way more syscalls to be made It doesn't work for processes owned by other users. Perhaps running as root could alleviate that, but that would involve making a priviliedged helper akin to the existing sysmond that Activity Monitor.app uses. I'm a little scared of that, because I don't want to put my users at risk. Sysctl Using the keys [CTL_KERN, KERN_PROC, KERN_PROC_PID, someProcessID], I'm able to get a kinfo_proc - https://github.com/apple-opensource/xnu/blob/24525736ba5b8a67ce3a8a017ced469abe101ad5/bsd/sys/sysctl.h#L750-L776 instance. Accessing its .kp_proc - https://github.com/apple-opensource/xnu/blob/24525736ba5b8a67ce3a8a017ced469abe101ad5/bsd/sys/proc.h#L96-L150.p_pctcpu - https://github.com/apple-opensource/xnu/blob/24525736ba5b8a67ce3a8a017ced469abe101ad5/bsd/sys/proc.h#L123 looked really promising, but that value is always zero. Digging deeper, I found the kernel code that fills this struct in (fill_user64_externproc - https://github.com/apple-opensource/xnu/blob/c76cff20e09b8d61688d1c3dfb8cc855cccb93ad/bsd/kern/kern_sysctl.c#L1121-L1168). The assignment of p_pctcpu - https://github.com/apple-opensource/xnu/blob/c76cff20e09b8d61688d1c3dfb8cc855cccb93ad/bsd/kern/kern_sysctl.c#L1149 is in a conditional region, relying on the _PROC_HAS_SCHEDINFO_ flag. Disassembling the kernel on my mac, I could confirm that the assignment of that field never happens (thus _PROC_HAS_SCHEDINFO_ wasn't set during compilation, and the value will always stay zero) Reverse engineering Activity Monitor.app Activity Monitor.app makes proc_info and sysctl system calls, but from looking at the disassembly, it doesn't look like that's where its CPU figures come from. From what I can tell, it's using private functions from /usr/lib/libsysmon.dylib. That's a user library which wraps an XPC connection to sysmond (/usr/libexec/sysmond), allowing you to create requests (sysmon_request_create), add specific attributes you want to retrieve (sysmon_request_add_attribute), and then functions to query that data out (sysmon_row_get_value). Getting the data "striaght from the horses mouth" like this sounds ideal. But unfortunately, the only documentation/usage I can find of sysmond is from bug databases demonstrating a privilege escalation vulnerability lol. There are some partial reverse engineered header files floating around, but they're incomplete, and have the usual fragility/upkeep issues associated with using private APIs. On one hand, I don't want to depend on a private API, because that takes a lot of time to reverse engineer, keep up with changes, etc. On the other, making my own similar privileged helper would be duplicating effort, and expose a bigger attack surface. Needless to say, I have no confidence in being able to make a safer privileged helper than Apple's engineers lol Reverse engineering iStat Menus Looks like they're using proc_pid_rusage - https://github.com/apple-opensource/xnu/blob/24525736ba5b8a67ce3a8a017ced469abe101ad5/libsyscall/wrappers/libproc/libproc.h#L103-L108 . However, I don't know how to convert the cpu_*_time fields of the resulting struct rusage_info_v4 - https://github.com/apple-opensource/xnu/blob/24525736ba5b8a67ce3a8a017ced469abe101ad5/bsd/sys/resource.h#L306-L343 to compute a "simple" percentage. Even if I came up with some formula that produces plausible looking results, I have no real guarantee it's correct or equivalent to what Activity Monitor shows.
Posted
by
Post not yet marked as solved
1 Replies
945 Views
I am trying to setup a kAudioUnitSubType_VoiceProcessingIO audio unit for a VoIP macOS app. I tried kAudioUnitSubType_HALOutput first, but it was not suitable due to echo and noise, which makes sense. kAudioUnitSubType_VoiceProcessingIO seemed promising. However, when using it with a bluetooth headset for output and built-in mic for input, volume gets really low compared to other device setups such as both internal input and output, or both bluetooth headset input and output. The alternative setups seem to work fine, but we can't request users to avoid specific setups. This makes kAudioUnitSubType_VoiceProcessingIO unusable for a macOS app. Is kAudioUnitSubType_VoiceProcessingIO production ready for current macOS apps? Is there any way to avoid the volume issues? Adding manual gain is not a workaround because voice becomes really distorted. Thanks.
Posted
by
Post not yet marked as solved
2 Replies
546 Views
I’d like to access the values in plist files in /Library/ManagedPreferences. I tried UserDefaults.standard.object(forKey: "com.custom.app.domain") but that did not work My goal is to deploy settings that are set in an MDM and read those settings in my Swift macOS app. I’m new to macOS development and have been banging my head against the internet trying to figure out how to do this. Would really appreciate any help, thank you!
Posted
by
Post not yet marked as solved
14 Replies
14k Views
Hi There, I just bought a IIYAMA G-MASTER GB3461WQSU-B1 which has a native resolution of 3440x1440 but my MacBook Pro (Retina, 15-inch, Mid 2014) doesn't recognise the monitor and I can't run it at its full resolution. It is currently recognised as a PL3461WQ 34.5-inch (2560 x 1440). Is there anything that I can do to get it sorted or I will have to wait until this monitor driver is added to the Big Sur list? Thanks
Posted
by