iTerm cannot be opened after OSX restart when hidden from dock
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version:
- OS version: 10.12.6 MacOS Sierra
- Attach [com.googlecode.iterm2.plist] here (drag-drop from finder into this window) : (/uploads/602738975e4d9906dd01ea4d9d95bf87/com.googlecode.iterm2.plist)
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Are you reporting a performance issue or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
Detailed steps to reproduce the problem:
- Modified Info.plist of iTerm.app with key LSUIElement and value true to hide it from the dock.
- Restart machine
- Attempt to open iTerm
What happened: I see the error 'The application "iTerm" can't be opened' iTerm cannot be opened
What should have happened: iTerm should have opened.
The only way for me to fix it is to replace LSUIElement with the value false, restart iTerm, close iTerm, reset LSUIElement to true and then start iTerm again.
Looking at dmesg, the relevant lines are!
"AMFI: code signature validation failed. mac_vnode_check_signature: /Applications/iTerm.app/Contents/MacOS/iTerm2: code signature validation failed fatally: When validating /Applications/iTerm.app/Contents/MacOS/iTerm2: The code contains a Team ID, but validating its signature failed. Please check your system log.proc 17930: load code signature error 4 for file "iTerm2""