Skip to content

Commit

Permalink
[Gutenberg] Apply workaround in gutenberg_post_install to address b…
Browse files Browse the repository at this point in the history
…uild failure (#22658)
  • Loading branch information
fluiddot authored Feb 21, 2024
2 parents a2aacfc + 29476af commit 983d13e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Gutenberg/cocoapods_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ def gutenberg_post_install(installer:)
react_native_path = Pathname.new(react_native_path).relative_path_from(Dir.pwd)

react_native_post_install(installer, react_native_path)

# The following workaround is needed to avoid the error `typedef redefinition with different types ('uint8_t' (aka 'unsigned char') vs 'enum clockid_t')`.
# This solution is referenced in https://github.com/facebook/react-native/issues/39568#issuecomment-1762890606.
# It will be needed until RCT-Folly version is bumped in React Native to version v2022.08.29.00 or above.
# Referece: https://github.com/facebook/folly/commit/4a2410fae65afb85e1fec6d922005054b05de59f
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end

def gutenberg_post_integrate
Expand Down

0 comments on commit 983d13e

Please sign in to comment.