[MacPorts] #63824: iTerm2: error: property 'safeAreaInsets' not found on object of type 'iTermRootTerminalView *' (was: iTerm2 fails to build)
MacPorts
noreply at macports.org
Sat Nov 6 10:10:20 UTC 2021
#63824: iTerm2: error: property 'safeAreaInsets' not found on object of type
'iTermRootTerminalView *'
-----------------------+----------------------
Reporter: szhorvat | Owner: markemer
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: mojave
Port: iTerm2 |
-----------------------+----------------------
Changes (by ryandesign):
* status: new => assigned
* cc: markemer (removed)
* owner: (none) => markemer
* version: => 2.7.1
* keywords: => mojave
Comment:
The error in the log is:
{{{
error: property 'safeAreaInsets' not found on object of type
'iTermRootTerminalView *'
}}}
[https://developer.apple.com/documentation/uikit/uiview/2891103-safeareainsets?language=objc
According to Apple] `safeAreaInsets` is an iOS / iPadOS / tvOS / Mac
Catalyst function that is not available on macOS so its use in a Mac
project like iTerm2 surprises me. According to the iTerm2 source code, it
should only be used on macOS 12 or later. Maybe the function became
available in macOS 12 and Apple hasn't updated the documentation. But this
means iTerm2 needs the macOS 12 SDK to build, which is of course not
available on macOS 10.14.
--
Ticket URL: <https://trac.macports.org/ticket/63824#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list