I've recently upgraded to the RC candidates of macOS 26 and Xcode 26. The app I'm building has a helper tool using SMAppService. When I run the app and helper tool in macOS 15 or macOS 26, all works as expected. When it runs on macOS 13 or 14, which previously worked. The helper now crashes on launch with the following reason:
Termination Reason: CODESIGNING 4 Launch Constraint Violation
I found this developer session which seems to address this, but the plist I've added doesn't seem to satisfy the constraint.
https://developer.apple.com/videos/play/wwdc2023/10266/
Here are the contents of my new plist:
<plist version="1.0"> <dict> <key>team-identifier</key> <string>MYTEAMID</string> <key>signing-identifier</key> <string>com.myteam.myapp</string> </dict> </plist>
Are there any gotchas here that I might be missing?
Thanks!
Hmmm, interesting. I’m glad to hear you got it sorted.
If you see this again, and assuming it’s on a machine that’s only seen production versions of your app, please grab a sysdiagnose log from the affected machine before you do the resetbtm
. You can then file a bug with that sysdiagnose so that the Service Management folks can investigate. And if you do that, please post your bug number here, just for the record.
In other news, I recently created Getting Started with SMAppService, and I want to drop a link to it here just in case other folks stumble across this thread while looks for SMAppService
help.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"