Closed AuroPick closed 1 month ago
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
Hey @AuroPick! Before we go down the podifle and try finding any issues there - make sure to install pods the way react native now suggests:
cd ios && bundle install && bundle exec pod install
Let me know if anything changes.
You could also clean caches before the operation - git clean -xdf
in the project root (you will also need to reinstall packages after the clean)
Hi @szydlovsky
I tried but didn't work.
$config[:reactNativePath] becomes nil
outside the shared
def after upgrade to 3.6.0
I invoked use_native_modules!
again in the post_install. It looks like it is working.
post_install do |installer|
config = use_native_modules!
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
Pod::UI.puts "reactNativePath #{config[:reactNativePath]}"
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false
)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
@AuroPick If you say it works then I can safely close the issue, especially that the logs of the pod install don't point to anything associated with Reanimated
Description
I have upgraded react-native-reanimated version to 3.6.0 from 3.5.4 and started to getting this error when trying to install pods
Podfile:
Steps to reproduce
Snack or a link to a repository
https://snack.expo.io
Reanimated version
3.6.0
React Native version
0.72.6
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Paper (Old Architecture)
Build type
Other (please specify)
Device
None
Device model
No response
Acknowledgements
Yes