Post

Replies

Boosts

Views

Activity

Reply to Digital certificate
Try a Time Machine restore of the Keychain files in ~/Library/Keychains and restoring those into different filenames for access? More likely to work: restore your entire Mac from your Time Machine backup immediately prior to the errant deletions.
Topic: Privacy & Security SubTopic: General Tags:
Sep ’22
Reply to Enabling SIP while disabling specific parts, is it safe?
Nobody here can answer that, short of reverse-engineering the app or reviewing the app source code if available, and not even really then. Whether it’s “safe” depends entirely on the app and the app developer. Both the safety of the app now, and across future app updates. This app is clearly hooking in oddly and deeply, or is otherwise doing something unusual. Disabling SIP is not something I’d do for anything short of a critical app from a well-regarded and trusted developer. There’ve been too many problems due to apps that have “burrowed” into macOS over the years, too. Malware, and system add-ons. That’s all part of why SIP exists.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’22
Reply to Practical folder sizes in Ventura
See if your storage is simply saturated. RAID-5 doesn't scale at all well, both around ever-larger disk sizes and failures, and around apps with higher write loads. Current RAID-5 trends are toward inevitable secondary and catastrophic failure during RAID-5 recovery from an initial error too, as the overhead and risks of failures arising during recovery from the initial error is higher than many might even realize. Try some tests with other storage with equivalent file counts. I've been migrating all RAID-5 to RAID-6, or otherwise migrating from RAID-5 to more and bigger HDDs and RAID-10, or RAID-6 SSD. Some reading from ServerFault: What are the different widely used RAID levels and when should I consider them? PS: RAID is not a backup strategy.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’22
Reply to Programming language to develop macOS launch daemon
Swift, Objective C, C, etc., it depends rather more on what the daemon is going to be doing. Docs: https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html https://developer.apple.com/library/archive/technotes/tn2083/_index.html#//apple_ref/doc/uid/DTS10003794 pmset is the usual command for accessing this info, I don't know off-hand if there's an official callable interface. Here's a semi-recent version of the pmset source code that's part of the Apple open source: https://opensource.apple.com/source/PowerManagement/PowerManagement-1132.81.1/ The Apple code is written in Objective C, and hasn't changed in a while per the comments.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’22
Reply to df command missing
How are you testing for df, when troubleshooting? Logged in via Terminal.app, or via a Java app? Checked for any surprises in PATH? Used whereis or such to go looking for the df executable? From Monterey 12.6.2: $ whereis df df: /bin/df /usr/share/man/man1/df.1` Is full disk access enabled for the Java app, and for Terminal.app?
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’22
Reply to Any advices for a new kid coming to Apple development?
I haven’t seen what you’re looking for; a developer-focused how-all-the-pieces-fit-together document. I’d like to find a copy of that same (and non-existent?) doc, too. Learning the various app flow control schemes and other such mundane details would be easier. Linux is itself is a large and complex undertaking, so it’s unclear to me what parts you might or might not be familiar with. Linux GUI work (X, Wayland, Mir, Mutter, etc) is different from macOS GUI work, for instance. Much as with Linux and Windows, Apple too has had different UI frameworks over the years, with Cocoa/UIKit/AppKit, Catalyst, and SwiftUI being probably the most common choices in recent years. the POSIX and C APIs are around, too. (Not that I’d particularly recommend the traditional POSIX and C networking APIs on any platform.) Apple prefers developers use Swift and Swift frameworks for new work, and SwiftUI and Catalyst for nee GUI apps, and that and the related frameworks are all very different from the POSIX and C APIs. There are Apple and third-party intro docs and books and tutorials and examples available for Swift. (And older docs and books and tutorials and examples for ObjC.) I haven’t seen much Rust, Zig, or Crystal work, though those and other fine choices are undoubtedly around and in use. Apple app development involves the Xcode IDE, or Swift and the Playgrounds IDE, or the command line. Or one of various available third-party IDEs. Outside of picking an initial app target for learning more about that, I don’t have any good suggestions. Swift and SwiftUI and GUI apps, or command-line apps and that using C or Rust or Swift or whatever, lots of choices to start with and learn about… There is the third-party OS X Internals book—three volumes—that is AFAIK the only resource describing how the various pieces of macOS/iOS/iPadOS all fit together, though that is obviously more focused toward the internals.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’22
Reply to Digital certificate
Try a Time Machine restore of the Keychain files in ~/Library/Keychains and restoring those into different filenames for access? More likely to work: restore your entire Mac from your Time Machine backup immediately prior to the errant deletions.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to ld: warning: object file
Update your Mac to macOS 12.6 (macOS Monterey current) and try again? Failing that, update Xcode to Xcode 14 (current), and try again?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to business.facebook.com upload problem
Best to contact Meta support for assistance with Meta Facebook apps and services, and for other issues with Meta products and services, and ask them for assistance with this.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to Developer Mode
You’ll need to connect to a Mac as part of Enabling Developer Mode on a device
Replies
Boosts
Views
Activity
Sep ’22
Reply to Enabling SIP while disabling specific parts, is it safe?
Nobody here can answer that, short of reverse-engineering the app or reviewing the app source code if available, and not even really then. Whether it’s “safe” depends entirely on the app and the app developer. Both the safety of the app now, and across future app updates. This app is clearly hooking in oddly and deeply, or is otherwise doing something unusual. Disabling SIP is not something I’d do for anything short of a critical app from a well-regarded and trusted developer. There’ve been too many problems due to apps that have “burrowed” into macOS over the years, too. Malware, and system add-ons. That’s all part of why SIP exists.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to Practical folder sizes in Ventura
See if your storage is simply saturated. RAID-5 doesn't scale at all well, both around ever-larger disk sizes and failures, and around apps with higher write loads. Current RAID-5 trends are toward inevitable secondary and catastrophic failure during RAID-5 recovery from an initial error too, as the overhead and risks of failures arising during recovery from the initial error is higher than many might even realize. Try some tests with other storage with equivalent file counts. I've been migrating all RAID-5 to RAID-6, or otherwise migrating from RAID-5 to more and bigger HDDs and RAID-10, or RAID-6 SSD. Some reading from ServerFault: What are the different widely used RAID levels and when should I consider them? PS: RAID is not a backup strategy.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to Programming language to develop macOS launch daemon
Swift, Objective C, C, etc., it depends rather more on what the daemon is going to be doing. Docs: https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html https://developer.apple.com/library/archive/technotes/tn2083/_index.html#//apple_ref/doc/uid/DTS10003794 pmset is the usual command for accessing this info, I don't know off-hand if there's an official callable interface. Here's a semi-recent version of the pmset source code that's part of the Apple open source: https://opensource.apple.com/source/PowerManagement/PowerManagement-1132.81.1/ The Apple code is written in Objective C, and hasn't changed in a while per the comments.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to OS 13.1 printing some pages, the output .ps file cannot open
Postscript support was removed in Ventura. View .ps and .eps files on Mac - Apple Support
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to Apple's IP ranges used for testing iOS Apps on app submission
IPv4 17/8 is Apple. I've not seen an official published listing of the IPv4 or IPv6 addresses used for app testing.
Replies
Boosts
Views
Activity
Nov ’22
Reply to Differences between "Obj-C in iOS App Development" and "Obj-C in MacOS CommandLine Development"
In addition to the (excellent) reply above... Only macOS has command line tools. Not iOS nor iPadOS. And macOS fully supports C functions and Objective C classes and methods. Same as do iOS and iPadOS.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to how to sort the ip adresses returning from getaddrinfo() like /etc/gai.conf in linux
Set ai_family to AF_INET for IPv4 addresses, or to AF_INET6 for only IPv6, and try your tests again?
Replies
Boosts
Views
Activity
Dec ’22
Reply to Xcode won't compile UTType class methods
#import <UniformTypeIdentifiers/UniformTypeIdentifiers.h>
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to df command missing
How are you testing for df, when troubleshooting? Logged in via Terminal.app, or via a Java app? Checked for any surprises in PATH? Used whereis or such to go looking for the df executable? From Monterey 12.6.2: $ whereis df df: /bin/df /usr/share/man/man1/df.1` Is full disk access enabled for the Java app, and for Terminal.app?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to How to determine whether full disk encryption is enabled in ios
Macs with Apple silicon and Macs with Intel processors and T2 chips always use full disk encryption, irrespective of the FileVault 2 setting. Enabling FileVault 2 on a Mac with Apple silicon or with T2 changes (improves) how the keys are managed, but does not change the use of full disk encryption. Platform Security, page 92
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Any advices for a new kid coming to Apple development?
I haven’t seen what you’re looking for; a developer-focused how-all-the-pieces-fit-together document. I’d like to find a copy of that same (and non-existent?) doc, too. Learning the various app flow control schemes and other such mundane details would be easier. Linux is itself is a large and complex undertaking, so it’s unclear to me what parts you might or might not be familiar with. Linux GUI work (X, Wayland, Mir, Mutter, etc) is different from macOS GUI work, for instance. Much as with Linux and Windows, Apple too has had different UI frameworks over the years, with Cocoa/UIKit/AppKit, Catalyst, and SwiftUI being probably the most common choices in recent years. the POSIX and C APIs are around, too. (Not that I’d particularly recommend the traditional POSIX and C networking APIs on any platform.) Apple prefers developers use Swift and Swift frameworks for new work, and SwiftUI and Catalyst for nee GUI apps, and that and the related frameworks are all very different from the POSIX and C APIs. There are Apple and third-party intro docs and books and tutorials and examples available for Swift. (And older docs and books and tutorials and examples for ObjC.) I haven’t seen much Rust, Zig, or Crystal work, though those and other fine choices are undoubtedly around and in use. Apple app development involves the Xcode IDE, or Swift and the Playgrounds IDE, or the command line. Or one of various available third-party IDEs. Outside of picking an initial app target for learning more about that, I don’t have any good suggestions. Swift and SwiftUI and GUI apps, or command-line apps and that using C or Rust or Swift or whatever, lots of choices to start with and learn about… There is the third-party OS X Internals book—three volumes—that is AFAIK the only resource describing how the various pieces of macOS/iOS/iPadOS all fit together, though that is obviously more focused toward the internals.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’22