Post

Replies

Boosts

Views

Activity

Reply to macOS 26 Launch Constraints
The problem ended up being solved by calling: sfltool resetbtm in Terminal, followed of course by a restart on each affected machine. Interesting that it occurred across several machines all running macOS 13 and 14 right when we updated to Xcode 26. It does seem like the system will occasionally get upset with big changes to the app through the development cycle.
Topic: Code Signing SubTopic: General Tags:
Sep ’25
Reply to macOS 26 Launch Constraints
I'm only attempting to apply launch constraints because it seems to be the remedy to the helper/daemon crash. If there is a simpler remedy (like a new build setting I'm missing in XCode 26?) that would be even better. Mainly, I'm confused as to why building with XCode 26 and linking with macOS 26 would cause a crash with that code signing reason when previously it did not.
Topic: Code Signing SubTopic: General Tags:
Sep ’25
Reply to macOS 26 Launch Constraints
When building as described above, the helper crashes in such a way (Termination Reason: CODESIGNING 4 Launch Constraint Violation) that suggests I need to apply launch constraints to resolve the problem. I had not previously had launch constraints in my project.
Topic: Code Signing SubTopic: General Tags:
Sep ’25
Reply to macOS 26 Launch Constraints
I should add, that using codesign -d -vvvv to interrogate my helper, it doesn't appear that the parent process plist (.coderequirement) is getting embedded in my command-line helper tool. The info.plist IS getting embedded, however.
Topic: Code Signing SubTopic: General Tags:
Sep ’25
Reply to Getting Progress from long running process
I've been working on reading the data with: DispatchIO.read(fromFileDescriptor: readFD.rawValue, maxLength: whatLength, runningHandlerOn: queue) and also from an instance of DispatchIO like: let channel = DispatchIO(type: .stream, fileDescriptor: readFD.rawValue, queue: queue) { error in ...} // and channel.read(offset: 0, length: 2, queue: queue) { done, data, error in ... } I'm finding that these don't 'see' the data until the process finishes either... can you point out what I'm missing? Many thanks!
May ’25
Reply to Getting Progress from long running process
In playing with Subprocess, I'm assuming that I'll need to use the custom closure example... Except that the sample code has some errors, particularly, this line: { execution in // <--- it wants three more arguments and: for try await chunk in execution.standardOutput { //<--- Execution doesn't have a member standardOutput Not sure where to go from here... Perhaps return to an earlier methodology?
May ’25
Reply to WidgetKit widgets vanish in Montery with Xcode 16
Sorry, I didn't mean to leave this hanging. It turned out that the problem was the location of the application. It is an accessory app, so we were storing it outside of the Applications folder. Installing it in the Applications folder 'solved' the issue. You can reproduce in Monterey by moving an app containing widgets to somewhere like Application Support. It appears that later versions of macOS can discover widgets outside of Applications, while earlier ones cannot. Thanks!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’25