Comment on Show main window of SwiftUI app on macOS Sequoia after auto start For this use case adding arg names fixed it ~ open /Applications/My.app --args -o one -n two or ~ /Applications/My.app/Contents/MacOS/My -o one -n two UI Frameworks SwiftUI 1w