2 pod versions of React-Core?
See original GitHub issueDescription
I noticed that I have 2 pods listed for React Core: React-Core React-Core-60309c9c-AccessibilityResources
along with the 2 versions of React Core, I also had the following pod folders: React-Core-AccessibilityResources React-Core-60309c9c-AccessibilityResources
This was leading to an error: Multiple commands produce ‘…AccessibilityResources.bundle’
To get past the error, i deleted one of the AccessibilityResources folder. But, of course, everytime I do a new pod install, it adds the deleted version back in.
My question relates to this additional version *-60309c9c. Is doesn’t seem like this is the expected behavior? I’ve tried reinstalling the pods with without success: rm -rf Pods pod install
Any suggestions on this one?
Version
0.70.6
Output of npx react-native info
System: OS: macOS 12.6 CPU: (12) x64 Intel® Core™ i7-9750H CPU @ 2.60GHz Memory: 27.39 MB / 32.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 14.18.1 - ~/.nvm/versions/node/v14.18.1/bin/node Yarn: 1.22.18 - ~/.nvm/versions/node/v14.18.1/bin/yarn npm: 6.14.15 - ~/.nvm/versions/node/v14.18.1/bin/npm Watchman: 2022.03.21.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /Users/micahsklut/.rbenv/shims/pod SDKs: iOS SDK: Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1 Android SDK: API Levels: 29, 30, 31 Build Tools: 29.0.2, 30.0.2, 30.0.3, 31.0.0 System Images: android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 2021.3 AI-213.7172.25.2113.9123335 Xcode: 14.1/14B47b - /usr/bin/xcodebuild Languages: Java: 1.8.0_292 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: ^0.70.4 => 0.70.6 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
pod install
Snack, code example, screenshot, or link to a repository
Issue Analytics
- State:
- Created 9 months ago
- Reactions:3
- Comments:7
Yes…for us one of our developers had added a pod install of a react native component directly in the podfile. That needed to be removed. Everything is setup and controlled from the package.json.
On Thu, Dec 22, 2022, 11:19 AM MicahDavid @.***> wrote:
Also having the issue on React 70.4.
We found we had an extra pod install in the pod file versus having it all driven from the package.json and removed it. Once we removed the extra pod install line and did a clean pod setup again…the duplicated packages were not seen.
#removed #pod ‘RNSound’, :path => ‘…/node_modules/react-native-sound’