Discuss hardware-specific topics related to Mac.

Posts under Mac tag

110 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

Which Apple Mac device is sufficient for creating apps via XCODE
Hello, I am looking to purchase a new Mac device after owning my current macbook pro since 2017, sadly this device operates with a intel processing hardware. The new macbook expectations are that the new device is suitable for developing code for apps on xcode. I would like the make mac product to offer great processing capabilities, portability, cost is another factor and somewhat a concern considering I am a college student. To list out the factors into my purchase decision: Reasonable cost Great portability Processing capability via xcode for app development. Adobe applications will be used but I will not be venturing into the realm of 3D rendering at the moment enough Internal storage space is also important to me Which Mac device can you recommend, and why? Really appreciate the input and guidance some of you may be able to provide!
0
0
259
Jan ’24
Ongoing Bug - Sonoma/Word - Footnotes
When trying to view footnotes in draft or outline view in Word for Mac both from the App Store and the download from the Microsoft website, the screen continuously goes blank. Multiple fixes have been suggested however they have not worked. Please see below for additional information and ongoing user complaints: [https://discussions.apple.com/thread/255285863?sortBy=best) [https://answers.microsoft.com/en-us/msoffice/forum/all/trying-to-edit-footnote-separator-in-mac-word/9d47da2b-b4d9-4ca8-a904-22ca9d6a95f8)
1
0
308
Jan ’24
Printer incompatible / obsolete
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?
1
0
273
Feb ’24
Sonoma 14.4 Notes crash
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]`
1
0
469
Feb ’24
Instruments — How to measure large memory copies
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.
1
0
638
Mar ’24
Question regarding longevity
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?
7
0
538
Feb ’24
Why does `DisclosureGroup` retains object references when content is hidden?
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?
0
0
340
Feb ’24
Terminal Binary: "zsh: xxxx: command not found"
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
1
0
1.5k
Feb ’24
mac pro 5.1 mojave rx 580 crash at sleep
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!
2
0
344
Mar ’24
display resolution
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?
1
0
278
Mar ’24
Open firewall to allow port 8001
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.
0
0
446
Mar ’24
Search Files on Network Drive doesn't work
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.
1
0
430
Mar ’24
Issues using xbox 360 controller on Macbook Air
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
0
0
566
Mar ’24
Why is my iPad not accepting screenshot images from my Mac?
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.
0
0
330
Mar ’24
Could not mount “sdhc”. (com.apple.DiskManagement.disenter error 49244.)
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?
0
0
317
Mar ’24
Language guide for Swift 5.9
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
3
0
548
Mar ’24