Software:
- Mattermost Mobile Release 2.20.1
- Ruby 3.2.2 (Installation of Ruby 3.0.6 failed over and over - it’s an unsupported and end-of-life version)
- macOS Sequoia 15.0.1
- Xcode 16.0
Hardware:
- Mac mini, M1 2020
So first of all npm install
works perfectly fine without any errors.
But then everytime I try to build the mobile release 2.20.1 with the npm-dependency @sentry/react-native 5.27.0, I get a Xcode error
Missing ‘#include <sys/_types/_ucontext64.h>’; ‘ucontext64_t’ must be declared before it is used
While researching, I found out, that this is a bug in sentry and it was fixed with v5.31.0.
See missing ucontext64_t type Xcode Version 16.0 (16A242d) · Issue #4097 · getsentry/sentry-react-native · GitHub
But Mattermost is using Sentry v5.27.0.
So how is it possible for you to build that with a broken dependency?
Best regards
Jens