Update from 0.61.5 to 0.62.0 => 'folly/gen/String.h' file not found
See original GitHub issueHi, 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:
- 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;
- 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:
- Created 3 years ago
- Comments:7
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nevertheless, it was very annoying issue that I wasn’t expected to have the source in gitignore file.
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+