iTerm2 does not build on macOS 10.14
Bug report
iTerm2 does not build on macOS 10.14.6. The error is:
iTerm2-3.4.12/sources/iTermRootTerminalView.m:1251:50: error: property 'safeAreaInsets' not found on object of type
'iTermRootTerminalView *'
const NSEdgeInsets safeAreaInsets = self.safeAreaInsets;
^
1 error generated.
While I don't know Objective C, it appeared to me that the intention was not to try to use safeAreaInsets
on macOS versions prior to 12:
https://github.com/gnachman/iTerm2/blob/master/sources/iTermRootTerminalView.m#L1270
Is building iTerm2 still supported on macOS 10.14?
- iTerm2 version: 3.4.12
- OS version: 10.14.6
- Xcode version: 11.3.1 11C504
Detailed steps to reproduce the problem
- Downloaded sources from https://github.com/gnachman/iTerm2/releases/tag/v3.4.12
- Ran
make
in the source directory
Edited by Szabolcs Horvát