Discuss hardware-specific topics related to Mac.

Mac Documentation

Posts under Mac tag

139 Posts
Sort by:
Post not yet marked as solved
0 Replies
10 Views
For some reason, I have to build my iOS app project on target My Mac(Designed for iPhone) instead of using Mac Catalyst. Now I want to access these window buttons, is there any possible way to do that? or print current view/components whatever it is while clicking button?
Posted
by Joi_.
Last updated
.
Post not yet marked as solved
3 Replies
103 Views
My Mac will not run Xcode 15.3 which uses Swift 5.10. It will run Xcode 15.2 which uses Swift 5.9.2. The problem I am seeing is that Apple provides the language guide for Swift 5.10 but not the guide for Swift 5.9. Is this a real problem or am I over reacting, if not, where can I get and how do I install the reference guide for Swift 5.9 that will show up in Xcode
Posted
by lledsmar.
Last updated
.
Post not yet marked as solved
0 Replies
83 Views
I found my mac automatically tries to connect to the Google public servers 8.8.8.8 and 8.8.4.4 (I haven't set it). I tried to figure out why. Then I found that after I deleted the CriticalDomains in /Library/Preferences/com.apple.networkextension.control.plist, the problem is solved. However, those domains are as follows: { CriticalDomains = ( "cheeserolling.apple.com", "woolyjumper.sd.apple.com", "basejumper.apple.com", "basejumper-vip.sd.apple.com", "basejumper.sd.apple.com", "locksmith.apple.com", "gdmf-staging-int.apple.com", "pallas-uat.rno.apple.com", "pr2-pallas-staging-int-prz.apple.com", "livability-api.swe.apple.com" ); } May I ask what are those domains? I cannot find anything online. Is it possible to link those Apple dns domains to those public Google servers, maybe with some granted access to those Apple servers?
Posted
by Ce_123.
Last updated
.
Post not yet marked as solved
0 Replies
211 Views
I found my mac automatically connects to the Google server 8.8.8.8 and 8.8.4.4 that I haven't set in my mac. I figured out it seems to be set via /Library/Preferences/com.apple.networkextension.control.plist as follows: { CriticalDomains = ( "cheeserolling.apple.com", "woolyjumper.sd.apple.com", "basejumper.apple.com", "basejumper-vip.sd.apple.com", "basejumper.sd.apple.com", "locksmith.apple.com", "gdmf-staging-int.apple.com", "pallas-uat.rno.apple.com", "pr2-pallas-staging-int-prz.apple.com", "livability-api.swe.apple.com" ); } I cannot find any info about those domains online. I am wondering if it is possible like for apple staffs to set those CriticalDomains to control the connections to servers.
Posted
by Ce_123.
Last updated
.
Post not yet marked as solved
0 Replies
68 Views
macOS 14.2.1, MacBook Air 13″ M1 Hi, I have this issue with my Sandisk Sdhc 64g card - ExFAT - I can't mount it to my macbook M1. It's doesn's pop up. When I try to do this in disk utility - disable but it's visable - i have error: ' (com.apple.DiskManagement.disenter error 49244.)'. When I try to do the first aid: 'File system verify or repair failed. : (-69845)'. When i try to erese: 'MediaKit reports bad partition or no map found. : (-5324)'. I have NO problem using this card with my camera or windows computer. In my windows it's not even showing any error - everything look healthy, without issuse, co I can't fix it with windows because there is all good. I erase this card using my windows computer (with no problem) - twice (using fast and slow option). No issue. But it doesn't helped. I tried using 'sudo pkill -f fsck' command in terminal - no effect. With my other sdhc card 32g I don't have any issue with this macbook, so the problem is with The 64 sdhc card and The M1 macbook air connection. What can I do?
Posted
by Epic25.
Last updated
.
Post not yet marked as solved
0 Replies
63 Views
I frequently use the Universal Control feature from my Mac, the 27in, to my iPad Pro 5th gen, and recently, when I take a screenshot from my Mac and drag and drop to my tablet, the image won't appear. To be clear, I see the mouse going from the Mac to the iPad, and I see the image floating on the iPad, but when I release the image, it does not appear on the screen. I have the latest update, the Sonoma 14.4. I've searched everywhere and I honestly don't know what to do. I am not good with tech, but I don't know what else to do. In addition, I don't know if this is relevant, but my Mac does not find my iPad on Bluetooth and I have tried everything as well. I restarted it, and everything and nothing.
Posted
by Sunburned.
Last updated
.
Post not yet marked as solved
0 Replies
135 Views
Hi all, I have a macbook air 2022 with the M2 chip inside. I am trying to use a wired xbox 360 controller to play games on steam. However, whenever I try to plug it it, the light shines green for a little bit and then turns off. I checked in my usb device tree through the system report and it says that there is a controller plugged in. The controller doesn't work in the game either, are there any fixes? I am also on macOS Monterey version 12.4
Posted Last updated
.
Post not yet marked as solved
1 Replies
130 Views
I'm having issues using Finder Search (and spotlight search) for files on the network drive. Till the new update of OS Sonoma finder search was working, I think its a bug but today I uploaded to the latest version (14.4) but the issue remains. The issue is simple, when I search files/folders/anything on a network drive I find nothing. For example I have folders named with numbers "21053" "10992"; if I put the exact name on the search bar it doesn't show anything. I don't know what to do, please help me.
Posted Last updated
.
Post not yet marked as solved
1 Replies
336 Views
What's the best way in Instruments, to measure the amount of time spent on large memory copies? For a very simple example, when directly calling memcpy? Memory copying does not show up in the time profiler, it's not a VM cache miss or zeroing event, etc so it doesn't show there, it doesn't (as far as I can tell) show up in the system trace, and there aren't any other choices.
Posted
by swillits.
Last updated
.
Post not yet marked as solved
0 Replies
141 Views
I recently purchased a MacBook Pro with M3 chip running Sonoma 14.3.1 (to replace a MacBook Pro that used an Intel chip and ran Ventura 13.6.1.) I need to open Port 2001 to use socket.io for an app I am developing. On the older Mac, I simply entered : sudo ufw allow 8001 Now the Mac apparently uses pfctl as a firewall, but the documentation on how to open a port is not at all clear. Can you help.
Posted
by konvisoft.
Last updated
.
Post not yet marked as solved
1 Replies
113 Views
I have a Samsung wide screen monitor that worked with 2017 MacBook Air with intel running latest OS on beta that's available - Monterrey 12.7.4 - until I download software to share with a government entity. After removing that share screen software, I can no longer get a resolution about 1920x1080, which results in my monitor display looking stretched. I've reinstalled OS three times, set to monitor to defaults two times, and still nothing. How do I add resolution size about 1920-x1080?
Posted
by LoganHelp.
Last updated
.
Post not yet marked as solved
2 Replies
143 Views
Hello everybody, thanks for any feedback. I updated my cMP 4,1-5,1 from High Sierra to Mojave after installing the Saphire Nitro+ RX580. Since Mojave was installed (over H Sierra), my mac keeps crashing and restarting at sleep. I get mainly 2 kinds of reports -which I do not understand- one about kernel attack and one about bluetooth. Any help / directions is greatly aprecciated!
Posted
by Nikos_CH.
Last updated
.
Post not yet marked as solved
1 Replies
493 Views
Hello, I'm having issues running a precompiled binary through Terminal. The binary is a custom fork of software used to send code to a microprocessor through USB. The distributor is a known company and they have the binaries working on their machine (but I don't know which version of macOS they use). I was running Ventura 13.2.1 on a 2021 M1 and upgraded to Sonoma 14.3.1 — neither worked. I'm using zsh. I symlink the location of the binary, and it returns File Exists however, when I try to run the command, I receive zsh: permission denied: command then, when I sudo the command, I receive sudo: command: command not found. If this binary is not signed by Apple, could this be the reason it's not working? Could it be because I have FileVault turned on? Are others having this issue in their applications? Thank you
Posted Last updated
.
Post not yet marked as solved
0 Replies
188 Views
i have been told I sound robotic on company Teams & Zoom calls. This has only happened in the last update of Mac OS. Has anyone else come across this and found a solution? Mac OS: Version 14.4 Beta (23E5196e) Mac: Mac Ultra M1 / 64Gb Mem / 1TB SSD Again only happened since last update last week....
Posted
by kgurgen.
Last updated
.
Post not yet marked as solved
0 Replies
200 Views
I'm displaying file structure using DisclosureGroup. And I encountered a memory leak problem. Code Node Node represents a file or a folder. isExpanded is used to indicate if the child nodes are visible. If true, it will find its child nodes, which are set into children. If false, it will clear children for releasing references. class Node: ObservableObject, Identifiable, Hashable, CustomStringConvertible { // ... @Published var name: String @Published var children: [Node]? @Published var isExpanded = false { willSet { if self.isFile { // This node represents a file. // It does not have any children. return } if newValue { if children?.count == 0 { DispatchQueue.main.async { // get child nodes self.children = childrenOf(self.url) } } } else { if children?.count != 0 { DispatchQueue.main.async { // collapse child nodes self.children?.forEach { child in child.isExpanded = false } // clear children when this node is collapsed self.children = [] } } } } } init(/*...*/) { // ... print("init \(name)") } deinit { // ... print("deinit \(name)") } // ... } For convenience, I print some messages when initializing Node and deinitializing Node. TreeNode TreeNode displays Node using DisclosureGroup. struct TreeNode: View { @ObservedObject var parent: Node @ObservedObject var node: Node var body: some View { if node.isFile { Text(node.name) } else { DisclosureGroup( isExpanded: $node.isExpanded, content: { if node.isExpanded { ForEach(node.children ?? []) { child in TreeNode(parent: node, node: child) } } }, label: { FolderNodeView(node: node) } ) } } } struct FolderNodeView: View { @ObservedObject var node: Node var body: some View { Label( title: { Text(node.name) }, icon: { Image(systemName: "folder.fill") } ) } } I use if node.isExpanded for lazy loading. When node.isExpanded is true, it will show node's children and print initialization messages. Otherwise, it will hide child nodes and print deinitialization messages. But unexpectedly it does not print any deinitialization messages when the node is collapsed. This indicates that it retains references and therefore these Node objects still exists in memory causing memory leak. Demo When the node is expanded, its child nodes will be displayed after loading is completed. The code works correctly. Then I collapsed the node, it didn't print any deinitialization messages. And when I expanded it again, it initialized new nodes and deinitialized the old nodes at this time. Deinitialization seems to be delayed. So I guess TreeNode retains references when content is hidden. Then I deleted TreeNode in ForEach. DisclosureGroup( isExpanded: $node.isExpanded, content: { if node.isExpanded { ForEach(node.children ?? []) { child in // TreeNode(parent: node, node: child) } } }, label: { FolderNodeView(node: node) } ) It cannot display the child nodes. But it released reference correctly. So the code works expectedly. After that, I tried to replace TreeNode with Text or Label. I found that none of them released references immediately when I collapsed the node. Why did this happen? Any idea how to fix it?
Posted
by Hylas.
Last updated
.
Post not yet marked as solved
7 Replies
256 Views
As I am currently in development of an App for iOS, I also need a Mac. Currently, I am working on the Mac of my girlfriend. But, it turns out that I need a newer version of XCode which is not supported on Monterey. I also can't update Mac OS since it is not supported on this hardware anymore (also can't do it on her machine - it's hers). Long story short, I am now in the process of getting my own Mac. Unfortunately, I am not really familiar with the different Macs out there and wanted to know about longevity or longterm support of these machines regarding OS Updates. I want to be able to update also in the next cycles. As I do not have too much Budget, I wanted to find a refurbished one, but one that still supports OS Updates for a while so that I do not have the same situation next year and have a machine then which also can't update XCode/Mac OS. Is there anything you would recommend?
Posted
by MAUIOxo.
Last updated
.
Post not yet marked as solved
0 Replies
296 Views
Notes crashes 2 seconds after opening with the log `Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000120c50008 Exception Codes: 0x0000000000000001, 0x0000000120c50008 Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [23832]`
Posted
by prfraczek.
Last updated
.
Post marked as solved
1 Replies
181 Views
My operating system Sonoma 14.3.1 does not allow me to use my Brother colour laser printer. This printer still works beautifully and it's beyond me why I'd have to ditch it and buy another just because there is no driver update (to Sonoma). I've tried wireless (which this printer offers), I've tried with USB, I've tried Airprint. No luck. In researching which printers are best suited for my Mac mini and laptop there doesn't seem to be a concrete answer...except for HP but I'm not fond of being forced to purchase their cartridges (with an HP chip) or the printer will not work. Any other brand suggestions that will be guaranteed to work for the next 5 years?
Posted
by r4schorr.
Last updated
.