question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update from 0.61.5 to 0.62.0 => 'folly/gen/String.h' file not found

See original GitHub issue

Hi, I have updated app from 0.65.1 to 0.62.0 and I got

'folly/gen/String.h' file not found with Flipper-Folly pod

Any suggestions how to fix it? Or what is causing it? Especially annoying on CI.

No error on clean project.

My current workaround:

  1. Add this to postinstall actions:
cd ios && rm -rf ~/Library/Caches/CocoaPods Pods ~/Library/Developer/Xcode/DerivedData/*; pod deintegrate; pod setup; pod install --repo-update;
  1. Podfile:
# Post Install processing for Flipper
def flipper_post_install(installer)
  installer.pods_project.targets.each do |target|
    if target.name == 'YogaKit'
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '4.1'
      end
    end
  end
  file_name = Dir.glob("*.xcodeproj")[0]
  app_project = Xcodeproj::Project.open(file_name)
  app_project.native_targets.each do |target|
    target.build_configurations.each do |config|
      cflags = config.build_settings['OTHER_CFLAGS'] || '$(inherited) '
      unless cflags.include? '-DFB_SONARKIT_ENABLED=1'
        puts 'Adding -DFB_SONARKIT_ENABLED=1 in OTHER_CFLAGS...'
        cflags << '-DFB_SONARKIT_ENABLED=1'
      end
      config.build_settings['OTHER_CFLAGS'] = cflags
    end
    app_project.save
  end
  installer.pods_project.save
end

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
lorenc-tomaszcommented, Jun 3, 2020

Nevertheless, it was very annoying issue that I wasn’t expected to have the source in gitignore file.

1reaction
lorenc-tomaszcommented, Jun 3, 2020

HI, I did the same. I thought that this gen/ was made by mistake by someone from our team. Didn’t thought that this “gen/” was from RN 0.62+

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrading React Native from 0.61.5 to 0.62.3 - Medium
In my case i had to upgrade from version 0.61.5 to 0.62.3, mainly because it is specially cumbersome to debug and test apps...
Read more >
Upgrade to React Native 0.62 - Matt Oakes
React Native 0.62 has been a long time coming and brings many changes, large and small. This article explains what's new, how to...
Read more >
React-native upgrade from 0.61.5 to 0.63.2: TypeError
I fixed the problem by updating dependencies and devDependencies to the latest versions. I guess the better solution would be to find out ......
Read more >
React Native Upgrade Helper
* Not all packages are supported out-of-the-box. ** You still need to do the other changes below and verify the changelogs of the...
Read more >
Upgrading a 16 months old react-native project
This is not the first time I've upgraded any react-native projects. ... At this point, the header file is missing, and we are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found