Discuss hardware-specific topics related to Mac.

Mac Documentation

Posts under Mac tag

129 Posts
Sort by:
Post not yet marked as solved
1 Replies
1k Views
I change my /private/etc permissions to "eveybody can read and write", and applied this permission to all sub-folders and files. (something ****** to do)After that, when I use "sudo" command something went wrong:sudo: unable to stat /etc/sudoers: Permission deniedsudo: no valid sudoers sources found, quittingsudo: unable to initialize policy pluginAlso, I make a change to my "sudoer" file when trying to solve the problem.Here is its content:----------------------------------------------------------------------------------------------------------------------------------------# # Sample /etc/sudoers file. # # This file MUST be edited with the 'visudo' command as root. # # See the sudoers man page for the details on how to write a sudoers file. ## # Override built-in defaults ## Defaults env_reset Defaults env_keep += "BLOCKSIZE" Defaults env_keep += "COLORFGBG COLORTERM" Defaults env_keep += "__CF_USER_TEXT_ENCODING" Defaults env_keep += "CHARSET LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE" Defaults env_keep += "LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME" Defaults env_keep += "LINES COLUMNS" Defaults env_keep += "LSCOLORS" Defaults env_keep += "SSH_AUTH_SOCK" Defaults env_keep += "TZ" Defaults env_keep += "DISPLAY XAUTHORIZATION XAUTHORITY" Defaults env_keep += "EDITOR VISUAL" Defaults env_keep += "HOME MAIL" Defaults lecture_file = "/etc/sudo_lecture" ## # User alias specification ## # User_Alias FULLTIMERS = millert, mikef, dowdy ## # Runas alias specification ## # Runas_Alias OP = root, operator ## # Host alias specification ## # Host_Alias CUNETS = 128.138.0.0/255.255.0.0 # Host_Alias CSNETS = 128.138.243.0, 128.138.204.0/24, 128.138.242.0 # Host_Alias SERVERS = master, mail, www, ns # Host_Alias CDROM = orion, perseus, hercules ## # Cmnd alias specification ## # Cmnd_Alias PAGERS = /usr/bin/more, /usr/bin/pg, /usr/bin/less ## # User specification ## # root and users in group wheel can run anything on any machine as any user root ALL = (ALL) ALL %admin ALL = (ALL) ALL ## Read drop-in files from /private/etc/sudoers.d ## (the '#' here does not indicate a comment) #includedir /private/etc/sudoers.d [root@localhost ~]# echo 'username ALL=(ALL) ALL' >> /etc/sudoer [root@test ~]# visudo jin ALL=NOPASSWD: ALL Jin ALL = (ALL) ALL %wheel ALL=(ALL) NOPASSWD: ALL #includedir /etc/sudoers.dCan anyone help me?Thank you.
Posted
by
Post marked as Apple Recommended
34k Views
Previously discussed in beta:https://forums.developer.apple.com/message/330295This process stops responding every day it seems, I'm running 10.14.3 (18D109)When the process hangs, its Open Files and Ports include the following:txt /Library/Preferences/Logging/.plist-cache.ZP6RP0OT txt /private/var/db/timezone/tz/2018i.1.0/icutz/icutz44l.dat txt /usr/share/icu/icudt62l.dat txt /private/var/folders/35/dgpwsg457w17gs77hssnrbnw0000gn/0/com.apple.LaunchServices-231-v2.csstoreThose are not open when the service is running (before it hangs)Would like to know how frequently this hangs for everyone else and get steps to troubleshoot if possible.
Posted
by
Post not yet marked as solved
7 Replies
2k Views
I am able to upload a sticker pack but with the following warning: ITMS-90863: Apple silicon Macs support issue - The app has LSApplicationLaunchProhibited set to true. This is not supported on Mac. I understand this limits the ability of the sticker pack to be used on a new silicon Mac. Is there a way to change this flag so that this generic sticker pack will work on a Mac?
Posted
by
Post not yet marked as solved
290 Replies
152k Views
Hello! Help please, after updating the system to Big Sur, my MacBook Pro 13 began to slow down, previously there were no such problems. MacBook Pro (Retina, 13-inch, Early 2015) 2,7 GHz 2‑core processor Intel Core i5 8 GB 1867 MHz DDR3 Intel Iris Graphics 6100 1536 MB
Posted
by
Post not yet marked as solved
5 Replies
1.7k Views
It says UIRefreshControl is not supported when running Catalyst apps in the Mac idiom. Consider using a Refresh menu item bound to ⌘-R what would I need to do to fix this to make my apps work with Catalyst?
Posted
by
Post marked as solved
16 Replies
19k Views
Hello! I am wondering if anyone else is experiencing a significant CPU drain from Spotlight (specifically corespotlightd) in macOS 11.2.2. Since updating to macOS 11.2.2 any time that I access spotlight using Command + Space Bar I immediately experience a system wide lag. Viewing this in Activity Monitor I see a %CPU spike of corespotlightd in the realm of 200-400%. that last for anywhere from 5 to 15 seconds. I have sent this in through Feedback Assistant, but no other reports seem to have been linked to the radar. I have attempted a few different fixes as well: Terminal killall corespotlightd resolves the issue momentarily, but does not fix long term Restarting computer does nothing to solve Re-indexing spotlight does not solve I have also disabled more advanced search functions (Bookmarks and History, Contacts, Events and Reminders, Fonts, Mail & Messages, Music, Siri Suggestions, and Movies are all disabled) - This did not fix the issue. I have also disabled search for external hard drives which also did not solve the issue. Open to any other suggestions for fixes, or if anyone else has a similar issue. Mac mini, 2018 (2020 release), 3.2 GHz 6-Core Intel Core i7, 32 GB 2667 MHz DDR4. External GPU Radeon RX 570 4 GB.
Posted
by
Post not yet marked as solved
5 Replies
1.7k Views
Hello I've noticed that this product, heavily promoted on the ASC forums for many years, is no longer available from the Apple App Store. Can anyone tell me the reason why the product is no longer supported? Friends have asked me if it is 'safe' to use. Is it? Note to moderator: If I'm asking in the wrong places, please redirect my question. Thank you.
Posted
by
Post not yet marked as solved
59 Replies
59k Views
Hello everyone, I'm having a little issue with mounting my external hard drive lately. I've tried quite a few methods in hope of getting it to work again, but so far, no luck. I hope someone can help me solve this issue, or those who have the same problem may also share your insights. My external hard drive was working fine about a week ago. But one day, I ejected the hard drive and the icon disappeared, so I thought it was safe to unplug it. When I did, it said the hard drive was not properly removed. It still works fine when I use it the next day, but the same thing happened. It said the drive was not properly removed after I ejected the drive, waited for the icon to disappear, and then unplugged the drive. After that, it never works again, and the attached images are the info I got when I tried to mount or run first aid on this drive. Please help & thank you in advance! Computer: 27" iMac - MacOS Monterey External Hard Drive: WD_Black 4TB. APFS encrypted
Posted
by
Post not yet marked as solved
9 Replies
1.8k Views
I have created a command line application with Xcode, the application acquires permissions to capture screen (for example) however then I would like to remove only it with the command tccutil reset All [bundler id] the problem is that my executable seems to have no bundler id and I don't know how to remove it. I have also modified the Product Bundle Identifier option in the Build Settings tab but this didn't work either.
Posted
by
Post not yet marked as solved
8 Replies
2.9k Views
Has anyone been experiencing this? My notes app has been crashing incessantly even after updating my macOS. It has been happening for months and my MacBook is pretty new. Do let me know what I can do to rectify this!
Posted
by
Post marked as solved
10 Replies
3.4k Views
Apple Please! Since your last OS update the most useful software on Mac: TotalSpace3 stopped working. TotalSpace brings the ability to navigate in the spaces through a grid of multiple 2D spaces (like it was 10+ years ago on Mac). Since TotalSpace is not working anymore (and exists and work on Linux) it became less interesting using a Mac... I can't believe that no one at Apple is using TotalSpace ?! It's just impossible to work on a Mac without it !? Navigating with the native Apple horizontal space means that we have to click (and wait 5 seconds) to navigate between space 01 to space 10... Are you serious at Apple ?! only my Grand'ma navigate into spaces with the Apple native interface... With TotalSpace, we can (could) swipe with 4-fingers on the trackpad and change of spaces in two dimensions (01 > 10 in half of a second). IT'S VITAL for people who are intensively using their mac. Ex: [01][02][03] [04][05][06] [07][08][09] You're digging your grave! Developers: who were all (the good ones) using TotalSpace will move to Linux without it, as it became impossible to use a Mac without it...
Posted
by
Post not yet marked as solved
36 Replies
27k Views
Dove in and upgraded two Macs today to beta 1. Unfortunately, it appears L2TP VPN is broken or something changed in the way it works. I can longer get a connection to any VPN concentrator I used previously. I tested with Cisco Anyconnect SSL VPN client and can connect to the same concentrators (as they're configured to accept L2TP or SSL clients). I also tested from my phone running iOS 16 beta and it still works for the L2TP connections. The Mac not working with L2TP VPN ppp.log shows this Fri Jun 10 19:18:52 2022 : L2TP connecting to server 'IP removed' (IP removed)... Fri Jun 10 19:18:52 2022 : IPSec connection started Fri Jun 10 19:18:52 2022 : IPSec phase 1 client started Fri Jun 10 19:19:02 2022 : IPSec connection failed Connecting a Mac successfully on 12.4 the log shows Fri Jun 10 19:12:33 2022 : L2TP connecting to server 'IP removed' (IP removed)... Fri Jun 10 19:12:33 2022 : IPSec connection started Fri Jun 10 19:12:33 2022 : IPSec phase 1 client started Fri Jun 10 19:12:33 2022 : IPSec phase 1 server replied Fri Jun 10 19:12:34 2022 : IPSec phase 2 started Fri Jun 10 19:12:34 2022 : IPSec phase 2 established Fri Jun 10 19:12:34 2022 : IPSec connection established (and then a ton more lines of the entire process ending with client getting an IP that I won't bother posting) VPN wasn't high on my list of apps I was concerned about breaking with the beta. But, now that it is broke and I need it for work I'm kinda screwed myself. Anyway, if anyone knows a way to fix this please let me know.
Posted
by
Post not yet marked as solved
7 Replies
2.6k Views
Issue I am experiencing corespotlightd constant 100% CPU drain in macOS Monterey 12.6 (21G115) Since updating Command Line Tools Fixes attempted Quit corespotlightd resolves the issue only for a couple of minutes Restarting computer Search Results enabled only for Applications and System Preferences Re-indexing spotlight does nothing to solve Machine information System Version: macOS Monterey 12.6 (21G115) Kernel Version: Darwin 21.6.0 MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports) Processor 1,4 GHz Quad-Core Intel Core i5 Memory 8 GB 2133 MHz LPDDR3 Graphics Intel Iris Plus Graphics 645 1536 MB
Posted
by
Post not yet marked as solved
2 Replies
894 Views
IOPSCopyPowerSourcesInfo → kIOPSBatteryHealthKey returning incorrect value Background: I write software to monitor computer system health. I'm having problems getting battery health information on my new M2 notebook. Given the following Objective-C program: #include <Foundation/NSObjCRuntime.h> #include <IOKit/ps/IOPSKeys.h> #include <IOKit/ps/IOPowerSources.h> #include <assert.h> int main() { CFTypeRef psInfo = IOPSCopyPowerSourcesInfo(); assert(psInfo != NULL); CFArrayRef list = IOPSCopyPowerSourcesList(psInfo); assert(list != NULL); long count = CFArrayGetCount(list); for(long i = 0; i < count; i++) { CFDictionaryRef ps = IOPSGetPowerSourceDescription( psInfo, CFArrayGetValueAtIndex(list, i)); assert(ps != NULL); CFStringRef deviceName = (CFStringRef)CFDictionaryGetValue( ps, CFSTR(kIOPSNameKey)); assert(deviceName != NULL); CFStringRef serialNumber = (CFStringRef)CFDictionaryGetValue( ps, CFSTR(kIOPSHardwareSerialNumberKey)); assert(serialNumber != NULL); CFStringRef health = (CFStringRef)CFDictionaryGetValue( ps, CFSTR(kIOPSBatteryHealthKey)); assert(health != NULL); NSLog(@"\nName=\"%@\"\nSerialNumber=\"%@\"\n" "BatteryHealth=\"%@\"\n", (__bridge NSString*)deviceName, (__bridge NSString*)serialNumber, (__bridge NSString*)health); } CFRelease(list); CFRelease(psInfo); return 0; } and looking at the IOPSKeys.h header, I expect to get one of "Poor", "Fair", or "Good" for the value of kIOPSBatteryHealthKey. https://opensource.apple.com/source/IOKitUser/IOKitUser-1845.81.1/ps.subproj/IOPSKeys.h.auto.html Instead, on my 2022 M2 Macbook Air running 13.2.1 (22D68), I get the following output: Name="InternalBattery-0" SerialNumber="F8Y2422145S10X2A7" BatteryHealth="Check Battery" At the same time, the "System Information app says "Condition: Normal". Am I missing something? This seems to be a bug, right? Should I look into filing a Technical Support Incident?
Posted
by
Post marked as solved
25 Replies
2.1k Views
I am working on an open source weather app for distribution outside the Mac App store: https://sourceforge.net/projects/heat-meteo The project builds and runs fine in Xcode. The batch build script was using ALTOOL which can’t/shouldn’t be used anymore. I am trying to set it up for notarytool. This is what I think is now happening. Again, all works fine in the Xcode debugger. In Xcode, the build is setup with Automatically manage signing for both Debug and Release. They are using my Apple Development account, 4V7…. What I have read if that if I want to distribute outside of the Mac App store, it must be signed with my Developer ID Application, 7VN…. I tried to do an xcodebuild then codesign to switch from 4V7 to 7VN. That actually worked. codesign -dv --verbose=4 shows the correct account. However when I do that, codesign --display --verbose shows I lost the hardened runtime and then notarytool fails because hardened runtime isn’t set. The hardened runtime flag IS set before the codesign command. I can physically turn off Automatically manage signing in Xcode for Release, but how to I select my Developer ID Application account? It does not appear to be a choice. If it matters, the application needs both WeatherKit and Location entitlements and they are set to YES in the entitlements file. I’m guessing, and this pure guessing, I need to adjust something in https://developer.apple.com/account but I don’t know what. Thanks in advance.

Ed
Posted
by
Post not yet marked as solved
2 Replies
676 Views
HI, I have a small question please, I bought a MacBook Pro m2, and I am trying to Download vm to install Kali Linux and Windows for my university but all the VM in the market are too bad to lunch Kali or Windows, so please give me a solution to do Why did you guys remove the Bootcamp from the M CHIP without solving it with new technologies?
Posted
by
Post not yet marked as solved
1 Replies
609 Views
Hi, I need to temporarily turn off SIP (long story) on a MacBook Air M2 running MacOS 13.3.1. When I boot into Recovery Mode (startup pressing power, options, pick account, authenticate, etc.) and try to launch the Startup Security Utility from the menu, it says it can only be run from Recovery Mode (which I'm in). I've tried launching the Terminal from the menu and using csrutil disable but it says the same thing (see attached) Is there some other security mode that can disable one's ability to turn off SIP? (I've been through Apple Support (regular, senior) who referred me to Developer Support (senior) who said it was beyond their scope and that I should post here.) Thanks, Colin
Posted
by
Post not yet marked as solved
0 Replies
318 Views
I try to run PS Remote Play but when i open the app it closes and shows me an error. I don't understand, i only want play playstation in my mac :,ç Process: RemotePlay [1476] Path: /Applications/RemotePlay.app/Contents/MacOS/RemotePlay Identifier: com.playstation.RemotePlay Version: 6.0.0 (6.0.0) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: RemotePlay [1476] User ID: 501 Date/Time: 2023-05-02 08:02:09.493 -0600 OS Version: Mac OS X 10.15.7 (19H2) Report Version: 12 Anonymous UUID: EFD75A52-C9F1-0195-13C0-627C47CAB017 Time Awake Since Boot: 1800 seconds System Integrity Protection: disabled Crashed Thread: 18 Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Illegal instruction: 4 Termination Reason: Namespace SIGNAL, Code 0x4 Terminating Process: exc handler [1476]
Posted
by
Post not yet marked as solved
0 Replies
278 Views
I have a client I'm trying to upgrade to Ventura. Currently the device is on Big Sur. Haven't seen this issue yet. I check for the update. Download the installer. When I get to select the disk, it then says you must provide authorization. Then it tells me there are no authorized users for this disk. I go to the startup disk and select the admin account and authorize it, then after that I get the error "There was an error in startup disk preferences". Anyone else see then error before? Thanks
Posted
by