Discuss hardware-specific topics related to Mac.

Posts under Mac tag

68 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

Button's image not Visible in mac-catalyst project
Currently I came across an issue in mac catalyst project. All the buttons in my project are not visible, they are in their actual positions and also clickable and performing their tasks as assigned but they are not visible. When Iam doing: crossButton.setImage(UIImage(named: "CrossComMac"), for: .normal) Button does not contain image While in the below code, image is visible but Iam not able to resize it. crossButton.imageView?.image = UIImage(named: "CrossComMac") Also title of the button is not visible too. Anything related to button in my mac catalyst project is not visible. Main issue: Button's image is visible in Xcode running project Button's image is not visible in build project...(funny thing right)
1
0
127
5d
Pages continues to crash
Process: Pages [24164] Path: /Applications/Pages.app/Contents/MacOS/Pages Identifier: com.apple.iWork.Pages Version: 14.3 (7042.0.76) Build Info: Pages-7042000076000000~4 (1A80s) App Item ID: 409201541 App External ID: 869633787 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2025-02-03 10:33:48.0108 -0500 OS Version: macOS 15.0 (24A5264n) Report Version: 12 Anonymous UUID: CADF4BC4-9940-34D7-7009-116B6231DC3E Sleep/Wake UUID: 74C42190-FF06-46AE-B3A5-A3EBD47E7F1F Time Awake Since Boot: 350000 seconds Time Since Wake: 720 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Codes: 0x0000000000000001, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [24164] VM Region Info: 0 is not in any region. Bytes before following region: 4336156672 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 102748000-1039a0000 [ 18.3M] r-x/r-x SM=COW /Applications/Pages.app/Contents/MacOS/Pages Model: Mac14,2, BootROM 11881.0.80.0.2, proc 8:4:4 processors, 8 GB, SMC Graphics: Apple M2, Apple M2, Built-In Display: Color LCD, 2560 x 1664 Retina, Main, MirrorOff, Online Memory Module: LPDDR5, Hynix AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Apr 22 2024 07:25:15 version 20.10.1110.0.8.7.176 FWID 01-f2e48c5b IO80211_driverkit-1302.55 "IO80211_driverkit-1302.55" May 30 2024 20:56:50 AirPort: Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB31Bus Thunderbolt Bus: MacBook Air, Apple Inc. Thunderbolt Bus: MacBook Air, Apple Inc.
1
0
108
2w
"Create Your Apple Account" Not Working
I just got a new 2024 Macbook Pro today. I finished setting it up, and I'm trying to reinstall a few apps. It told me that since I haven't used my Apple ID yet, I need to complete my Apple account. I've entered all my address information, but every time I hit continue, the boxes turn red, telling me I need to enter my information as if I never entered it in the first place. How can I fix this? I need to set this computer up before classes tomorrow.
1
0
138
3w
what's wrong
i never imagined that an apple product could do such. a thing . i 've updated to the latest version , 15.3 what should i do next time? i've had to restart it three times, the last one finally helped here is the link https://youtu.be/-aqjzVKMZGA
0
0
176
Dec ’24
Too sensitive trackpad?
My post i the general forum was deleted because I am running on Sequoia beta. The issue seems to occur regardless of macOS version. MacBook Air (M1, 2020): Trackpad reacts to the slightest touch, either moving thw cursor or clickin. Obviously I have adjusted settings and it's still too sensitive. If I don't take my fingers completely away from the trackpad as I use it, I often find new windows opening, dialog boxes popping up, ads getting clicked on, etc. I have gone into trackpad preferences several times and adjusted everything I can find that ought to help and it doesn't. Disabling “touch to click” remedies the unintentional clicks, although I would like to keep that functionality of workin as intended. The other nuisances remain.
2
0
288
Dec ’24
Detecting DarkWake and Maintainance Sleep transitions
On a macOS machine running v15.0, I have a daemon run by launchd which subscribes to the sleep and wakeup notifications using the IORegisterForSystemPower method. void PowerCallBack(void* refCon, io_service_t service, natural_t messageType, void* messageArgument) { switch (messageType) { case kIOMessageSystemWillSleep: logger->Debug("Received sleep notification from macOS"); if (refCon) { //Handle Sleep } IOAllowPowerChange(root_port, (long)messageArgument); break; case kIOMessageSystemHasPoweredOn: logger->Debug("Received wakeup notification from macOS"); if (refCon) { // Handle Wakeup } break; default: break; } } void MacOSNotification::RegisterNotifications() { logger->Debug("Registering for notifications from macOS"); powerNotificationThread = [[NSThread alloc] initWithBlock:^{ // Notifier object, used to deregister later root_port = IORegisterForSystemPower(this, &notifyPortRef, PowerCallBack, &notifierObject); if (root_port == 0) { return; } logger->Debug("Registered for system power notifications from macOS"); // Add the notification port to the application runloop CFRunLoopAddSource(CFRunLoopGetCurrent(), IONotificationPortGetRunLoopSource(notifyPortRef), kCFRunLoopCommonModes); CFRunLoopRun(); }]; //END OF THREAD BLOCK [powerNotificationThread start]; } Using this mechanism, I am getting notifications for normal sleep and wakeup transitions like closing and opening the lid. I need these notifications to terminate/reconnect my connection to a cloud service when we go to sleep/wakeup respectively. I have noticed from the power logs at /private/var/log/powermanagement that the after the sleep initiated by lid closing or clicking sleep in the top apple menu (both of which I can detect as they generate power notification), the macOS machine wakes up with the following message from powerd logs: DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt/ I do not get any notification for this wakeup and my application threads start running. This happens every 15 to 16 mins from my observation. After this DarkWake, we go back to 'Maintenance' sleep in under a minute as can be seen by the following powerd log: Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active I do not get any notifications for this either. Is there a way to track and get notified of these DarkWake -> Maintenance sleep cycles? At the very least I would like to log when we go into and come out of these states. Currently I just rely on seeing a 15 min window of no logs to know this must have a DarkWake -> Maintenance sleep cycle. Also is there a way to make sure my application and its threads are not woken up by DarkWake (like an opt-out)? I would like to make it so that my application only runs when we are properly sleeping and waking.
4
0
523
Jan ’25
Crash report - WD Unlocker
I can't unlock my extern device. I have the followed crah report as I try to enter my password. The device was once used on a microsoft computer, idk if it's linked somehow. Does anyone know what to do ? Translated Report (Full Report Below) Process: WD Drive Unlock [1303] Path: /Volumes/VOLUME/WD Drive Unlock.app/Contents/MacOS/WD Drive Unlock Identifier: com.westerndigital.WDDriveUnlock Version: 2.0.0.45 (2.0.0.45) Code Type: X86-64 (Translated) Parent Process: launchd [1] User ID: 501 Date/Time: 2024-11-23 11:49:58.9117 +0100 OS Version: macOS 14.3.1 (23D60) Report Version: 12 Anonymous UUID: 867E7C29-A5F7-9384-C84A-E8DD7E31CF51 Time Awake Since Boot: 270 seconds System Integrity Protection: enabled Notes: PC register does not match crashing frame (0x0 vs 0x7FF80BA0BF60) Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Codes: 0x0000000000000001, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [1303] VM Region Info: 0 is not in any region. Bytes before following region: 4294967296 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 100000000-100011000 [ 68K] r-x/rwx SM=COW ... Drive Unlock Error Formulating Crash Report: PC register does not match crashing frame (0x0 vs 0x7FF80BA0BF60)
1
0
239
Dec ’24
16" to 27" iPAD's
HI Apple, Can you please design & release a bigger iPad panel. Work the visual engineering side of Live Events & we need this now. Touchscreen support on MBP's always been terrible but with 'sidecar' we have an option, all be it a merger 13" one. Mac mini + Big iPad could be the ultimate 'on the road' office. Shareholders will be happy & you can still play the MacOS / IOS game whilst giving us pro users an option. Bring back Jony Ive?. Its 2024 Best, FF-44.
0
0
224
Nov ’24
Apple ID password cross-contamination with the new Passwords app?
Hello, I am seeing some weird behavior regarding the new Passwords app. I have a m3 max macbook that work provides me with a company provided apple ID (granted I don't think there is any rigid management profile with this account it just blocks downloads from the app store). This is preferable to using my personal apple ID on company hardware to avoid sharing all my personal data and just login with my personal account for things I don't care if my company knows about, like my music preferences. So, the weird behavior I am seeing is after upgrading my work machine to the macOS Sequoia Public Beta and having only using my personal apple ID to sign into Apple Music. I start test driving the new Passwords app and notice that it has seemingly exported a handful of account info and passwords from my personal apple id to my company managed one. There appears to be no rhyme or reason as to the ones that were synced between the two accounts (it snagged my personal github account info and a couple of other random stuff like my Pokemon Go account info). Luckily these being made known to the company aren't harmful to me at all, but it is concerning. I have never even searched, let alone, login to the sites and apps that the Passwords app now magically has the context to. I also can't delete them on the work machine. The process of deleting them appears to work but the next time I open Passwords they reappear (despite having logged out of my personal apple ID from Apple Music soon after this occured). I just wanted to share and see if anyone else has also had a similar experience or any insight. Thanks for your time.
1
0
213
Oct ’24
iPhone/iPad lose Data connection when using USB-C to USB-C cables after reboot on ARM Macs
I've noticed an issue when using an iPhone or iPad that uses a USB-C port (such as the iPhone 15 Pro or iPad Pro 12.9" 6th generation) and a USB-C to USB-C cable on ARM Macs (such as the M2 Mini). After rebooting the Mac, the iOS device is no longer recognized despite the iOS device continuing to charge. I can temporarily resolve the issue by reseating the USB-C cable, which allows the device to be recognized again by applications like Finder. However, this isn't a practical solution due to the number of M2 Minis we have (each with an attached iPhone for testing) and the Mini's frequent automatic reboots throughout the day. Using a USB-A to USB-C cable (with USB-A connected to the Mac Mini) seems to avoid this problem altogether, as the iOS device remains consistently recognized after a reboot. As the title suggests, this issue appears to be specific to ARM-based Macs. We've encountered it on both the M2 Mini and a 2021 Macbook Pro with the M1 Max chip. Interestingly, we haven't been able to reproduce this behavior on Intel-based Macs (tested on an 8,1 Mac Mini and a 2019 16" Macbook), where the iOS devices remain connected after a reboot when using a USB-C to USB-C cable. Here are some additional details: iOS Devices & Versions: iPhone 15 Pro: Issue persists on both iOS 17.1 and iOS 18.0.1 iPad Pro 12.9" (6th generation): Issue persists on both iPadOS 17.6.1 and iPadOS 18.0.1 Cables: Apple's 60W USB-C Charge Cable (USB 2.0): Issue occurs Generic/Third-party USB-C cable (USB 3): Issue occurs
2
0
440
Oct ’24
sequoia 15.0 after update issue
with my Mac air m2, after the update finished it started normally but after logging in, the Home Screen is blank (only wallpaper) no apps, no control bar, no dock nothing is showing up it’s just a blank normal screen I can move my mouse but can’t do anything with keyboard, when I lock and re-login it still stays same screen, I tried to reboot it, restart so many times but nothing helps, please if you have solution for this, I will be more than happy to know, thank you.
2
0
536
Oct ’24
Bluetooth connection unexpectedly timing out with macOS Sequoia
After the macOS Sequoia update, my app seems to have an issue with Bluetooth communication between macOS and iOS that uses CoreBluetooth for Central-Peripheral communication. Setup: The iPhone (in my case: iPhone 14 Pro with iOS 18.0 (22A3354)) acts as the Central, and the Mac (in my case: 14" MacBook Pro 2023 with macOS 15.0 (24A335)) as the Peripheral. I’ve implemented a mechanism where the Central (iPhone) sends a message to the Peripheral (Mac) every 15 seconds to keep the connection alive (Because it needs to wait for notify characteristic updates). I never noticed this kind of issue before, but with macOS Sequoia I get it permanently. Issue: The connection drops unexpectedly after a period of time (sometimes 20 seconds, sometimes a few minutes) with CBErrorDomain - code 6: The connection has timed out unexpectedly. Sample Code: Peripheral (Mac): ContentView (Peripheral).txt ContentViewModel (Peripheral).txt Central (iPhone): ContentView (Central).txt ContentViewModel (Central).txt Reproduce: I attached sample code including the Central-Sample (for iPhone) and Peripheral-Sample (for Mac). Just run the Peripheral-Sample (after granting Bluetooth permissions). Then run the Central-Sample and select the Mac device in the list After selecting it should connect, discover the service & characteristic and should start writing messages to it. After some time the func centralManager(_ central: CBCentralManager, didDisconnectPeripheral peripheral: CBPeripheral, error: (any Error)?) {should get called with timed out unexpectedly error. Could anyone please look into this issue and advise on whether there’s a known bug or any workaround? Any guidance would be greatly appreciated, as this impacts the stability of Bluetooth communication between the devices. Thanks in advance. Logs: I also ran the console.app during this issue which got these errors (if this is helpful): console_logs.txt
5
4
1.8k
Oct ’24
Mail.app & BBEdit Crashing Overnight
For some reason I am seeing Mail.app and/or BBEdit crash overnight. There are no reports in the Console. I set up a cron job for every 15 minutes to measure memory pressure and to see if BBEdit was open. Last night it was showing System-wide memory free percentage: 74% when the app closed. I have no cron jobs that close BBEdit. Either one of these apps close overnight on a regular basis, but it's not every night. I don't know how to troubleshoot this. Anybody have any ideas? Cheers
1
0
388
Sep ’24