sindresorhus / LaunchAtLogin-Legacy

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

LaunchAtLogin_LaunchAtLogin.bundle being copied back into bundle *after* being removed #71

Open lmcd opened 2 years ago

lmcd commented 2 years ago

The custom build script removes this file, then xcodebuild separated re-adds this bundle afterwards for production builds.

I'm not sure why this bundle is added to the main app bundle to begin with. Any solutions for this?

lmcd commented 2 years ago

I've noticed that sometimes this bundle is removed from Resources, and other times it's randomly readied before the end of the build, but after the build script is run.

This is causing uncertainty and code signing issues.

sindresorhus commented 2 years ago

Are you using Carthage or SwiftPM? Latest Xcode version?