You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# react-native-permissionsdefnode_require(script)# Resolve script with node to allow for hoistingrequirePod::Executable.execute_command('node',['-p',"require.resolve( '#{script}', {paths: [process.argv[1]]}, )",__dir__]).stripendnode_require('react-native/scripts/react_native_pods.rb')node_require('react-native-permissions/scripts/setup.rb')platform:ios,min_ios_version_supportedprepare_react_native_project!# react-native-permissionssetup_permissions(['PhotoLibrary','Camera','LocationWhenInUse','LocationAccuracy'])# this is necessary for multiple environments do not deletedefshared# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded## To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`# ```js# module.exports = {# dependencies: {# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),# ```# flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabledflipper_config=FlipperConfiguration.disabledlinkage=ENV['USE_FRAMEWORKS']iflinkage != nilPod::UI.puts"Configuring Pod with #{linkage}ally linked Frameworks".greenuse_frameworks!:linkage=>linkage.to_symend
$config =use_native_modules!use_frameworks!:linkage=>:static
$RNFirebaseAsStaticFramework =true# Flags change depending on the env values.flags=get_default_flags()use_react_native!(:path=> $config[:reactNativePath],# Hermes is now enabled by default. Disable by setting this flag to false.:hermes_enabled=>flags[:hermes_enabled],:fabric_enabled=>flags[:fabric_enabled],# Enables Flipper.## Note that if you have use_frameworks! enabled, Flipper will not work and# you should disable the next line.:flipper_configuration=>flipper_config,# An absolute path to your application root.:app_path=>"#{Pod::Config.instance.installation_root}/..")# @react-native-firebase/analytics@18.6.1 is using FirebaseAnalytics version 11. GoogleTagManager should also use this# if @react-native-firebase/analytics changes FirebaseAnalytics version. check versionpod'GoogleTagManager','7.4.3'endtarget'xxx'doPod::UI.puts'building xxx'sharedtarget'xxxTests'doPod::UI.puts'building xxxTests'inherit!:complete# Pods for testingendendtarget'xxxPreprod'doPod::UI.puts'building xxxPreprod'sharedendtarget'xxxStaging'doPod::UI.puts'building xxxStaging'sharedendtarget'ourCompanyxxx'doPod::UI.puts'building ourCompanyxxx'sharedendtarget'ourCompanyxxxPreprod'doPod::UI.puts'building ourCompanyxxxPreprod'sharedendtarget'ourCompanyxxxStaging'doPod::UI.puts'building ourCompanyxxxStaging'sharedendpost_installdo |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202react_native_post_install(installer,
$config[:reactNativePath],:mac_catalyst_enabled=>false)__apply_Xcode_12_5_M1_post_install_workaround(installer)endtarget'xxx-tvOS'do# Pods for xxx-tvOStarget'xxx-tvOSTests'doinherit!:search_paths# Pods for testingendend
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)
@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
The text was updated successfully, but these errors were encountered: