sindresorhus / LaunchAtLogin-Legacy

Add “Launch at Login” functionality to your macOS app in seconds
MIT License
1.55k stars 122 forks source link

Cannot find 'SMLoginItemSetEnabled' in scope #78

Closed tommycarpi closed 2 years ago

tommycarpi commented 2 years ago

Hello,

I was trying to integrate this functionality to a Catalyst app. I added the package from Swift Package Manager, but after that the app does not compile with this error 😅 Did I miss something?

Cannot find 'SMLoginItemSetEnabled' in scope

Screenshot 2022-07-10 at 11 40 50
sindresorhus commented 2 years ago

Duplicate of #46