Open longb1997 opened 1 year ago
i did patched RCT-Folly version before, reason: https://github.com/facebook/fbt/issues/377
the same issue,
[!] CocoaPods could not find compatible versions for pod "RCT-Folly":
In snapshot (Podfile.lock):
RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
In Podfile:
RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) was resolved to 0.70.7, which depends on
RCT-Folly (= 2021.07.22.00)
react-native-fbt (from `../node_modules/react-native-fbt`) was resolved to 0.0.7, which depends on
RCT-Folly (= 2021.06.28.00-v2)
@longb1997 how did you patch RCT-Folly version
?
because, when I tried to manually set folly_version = '2021.07.22.00'
in the ./node_modules/react-native-fbt/react-native-fbt.podspec
file
it fail with the next error
Building library libFlipperKit.a
β error: Cycle in dependencies between targets 'FbtTest2' and 'React-Codegen'; building could produce unreliable results.
the same issue,
[!] CocoaPods could not find compatible versions for pod "RCT-Folly": In snapshot (Podfile.lock): RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) In Podfile: RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) was resolved to 0.70.7, which depends on RCT-Folly (= 2021.07.22.00) react-native-fbt (from `../node_modules/react-native-fbt`) was resolved to 0.0.7, which depends on RCT-Folly (= 2021.06.28.00-v2)
@longb1997 how did you patch
RCT-Folly version
?because, when I tried to manually set
folly_version = '2021.07.22.00'
in the./node_modules/react-native-fbt/react-native-fbt.podspec
fileit fail with the next error
Building library libFlipperKit.a β error: Cycle in dependencies between targets 'FbtTest2' and 'React-Codegen'; building could produce unreliable results.
Did you use patch-package ?
π Bug Report
Every time i tries build by Xcode, this error show up:
To Reproduce
Steps to reproduce the behavior:
Link to repo (highly encouraged) or paste
envinfo