Closed larkox closed 1 month ago
Oof, can confirm that after days of trying to build these should do it (finally built about 12 hours ago - seeing this issue is 2 hours old 🤣)
For reference, the way I fixed it was while the npm run build:ios was running, but after the pods installed, I ran the following three commands from the mattermost-mobile directory.
These were the more base-level patches that were needed but are encapsulated by the typealias
and the bump of @sentry/react-native packages that appear in this MR.
sed -i '' '41i\
#include <sys/_types/_ucontext64.h>
' ios/Pods/Sentry/Sources/SentryCrash/Recording/Tools/SentryCrashMachineContext.c
find ios/Gekidou/Sources/Gekidou/Storage/ -name "*.swift" -exec sed -i '' 's/= Expression/= SQLite.Expression/g' {} +
find ios/Gekidou/Sources/Gekidou/Storage/ -name "*.swift" -exec sed -i '' 's/user.get(Expression</user.get(SQLite.Expression</g' {} +
Note the sed syntax is BSD-style, since, ya know, Mac.
Summary
With XCode 16 some changes were needed to properly compile the app.
This PR addresses those changes.
Ticket Link
NONE
Release Note