Skip to content

Commit

Permalink
do not upgrade RN since it cause unidentified problems, patch things …
Browse files Browse the repository at this point in the history
…to make it work instead
  • Loading branch information
zetavg committed Aug 5, 2024
1 parent 07a39dc commit 6448fc7
Show file tree
Hide file tree
Showing 2 changed files with 238 additions and 230 deletions.
10 changes: 9 additions & 1 deletion App/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,22 @@ target 'Inventory' do
:app_path => "#{Pod::Config.instance.installation_root}/.."
)

pod 'OpenSSL-Universal', :modular_headers => true, :configurations => ['Nightly', 'Release']
# Forcing OpenSSL-Universal version due to https://github.com/margelo/react-native-quick-crypto/issues/189#issuecomment-1711561970
pod 'OpenSSL-Universal', '1.1.1100', :modular_headers => true, :configurations => ['Nightly', 'Release']

target 'InventoryTests' do
inherit! :complete
# Pods for testing
end

post_install do |installer|
# https://github.com/facebook/react-native/issues/37748#issuecomment-1580589448
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION']
end
end

react_native_post_install(
installer,
# Set `mac_catalyst_enabled` to `true` in order to apply patches
Expand Down
Loading

0 comments on commit 6448fc7

Please sign in to comment.