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.

2 pod versions of React-Core?

See original GitHub issue

Description

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

Screen Shot 2022-12-09 at 2 15 18 PM

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Reactions:3
  • Comments:7

github_iconTop GitHub Comments

1reaction
lepertRSUcommented, Dec 22, 2022

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:

Closed #35607 https://github.com/facebook/react-native/issues/35607 as completed.

— Reply to this email directly, view it on GitHub https://github.com/facebook/react-native/issues/35607#event-8097219226, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGJPWDC276Y44YAYPVVMZNTWOR5PFANCNFSM6AAAAAASZVLQTQ . You are receiving this because you were mentioned.Message ID: @.***>

1reaction
lepertRSUcommented, Dec 21, 2022

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’

Read more comments on GitHub >

github_iconTop Results From Across the Web

CocoaPods could not find compatible versions for pod "React ...
Go to Pods folder. This directory should contain React.podspec file, open it, find where is s.dependency "React/Core", and ...
Read more >
IPHONEOS_DEPLOYMENT_TA...
Hi, I'm getting warning in my Swift package where one of external dependency supports from iOS8.0, is it as bug in xcode or...
Read more >
Updating iOS from React Native 0.59.x to 0.6x.x
2. Sentry 3. AsyncStorage 4. RNVectorIcons 5. Safariview and a few common ones. Because of the lean core effort and auto-linking, I had...
Read more >
CocoaPods could not find compatible versions for pod "React ...
iOS : CocoaPods could not find compatible versions for pod " React/Core " [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] ...
Read more >
ios/Podfile.lock · master · RocketChat / Rocket.Chat.ReactNative
PODS : 2. - boost (1.76.0). 3. - BugsnagReactNative (7.10.5):. 4. - React-Core. 5. - BVLinearGradient (2.6.2):. 6. - React-Core.
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