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.

[!] No podspec found for `React-CoreModules` in `../node_modules/react-native/React/CoreModules`

See original GitHub issue

I upgraded react-native to version 0.61.2, I followed instructions to have my podfile attached, but when I did pod install, I got this error: [!] No podspec found for React-CoreModules in ../node_modules/react-native/React/CoreModules

and I checked the directory …/node_modules/react-native/, there is no React subfolder under it, so where is the React-CoreModules pod?

React Native version: System: OS: macOS Mojave 10.14.6 CPU: (8) x64 Intel® Core™ i7-7820HQ CPU @ 2.90GHz Memory: 16.48 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 11.4.0 - /usr/local/bin/node npm: 6.4.1 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.1, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0 Android SDK: API Levels: 23, 25, 26, 27, 28 Build Tools: 27.0.3, 28.0.2, 28.0.3 System Images: android-22 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom IDEs: Android Studio: 3.1 AI-173.4907809 Xcode: 11.1/11A1027 - /usr/bin/xcodebuild npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.2 => 0.61.2 npmGlobalPackages: react-native-asset: 2.0.0 react-native-cli: 2.0.1 react-native-cn-richtext-editor: 1.0.33 react-native-git-upgrade: 0.2.7

Steps To Reproduce

  1. Use the following podfile
  2. run pod install

Describe what you expected to happen: It should install pod successfully

I got my podfile by referring to this site: https://react-native-community.github.io/upgrade-helper/?from=0.59.8&to=0.61.2

platform :ios, ‘9.1’

#source ‘https://cdn.cocoapods.org/’ require_relative ‘…/node_modules/@react-native-community/cli-platform-ios/native_modules’ target ‘icoin’ do

Comment the next line if you don’t want to use dynamic frameworks

use_frameworks!

Pods for icoin

pod ‘FBLazyVector’, :path => “…/node_modules/react-native/Libraries/FBLazyVector” pod ‘FBReactNativeSpec’, :path => “…/node_modules/react-native/Libraries/FBReactNativeSpec” pod ‘RCTRequired’, :path => “…/node_modules/react-native/Libraries/RCTRequired” pod ‘RCTTypeSafety’, :path => “…/node_modules/react-native/Libraries/TypeSafety” pod ‘React’, :path => ‘…/node_modules/react-native/’ pod ‘React-Core’, :path => ‘…/node_modules/react-native/’ pod ‘React-CoreModules’, :path => ‘…/node_modules/react-native/React/CoreModules’ pod ‘React-Core/DevSupport’, :path => ‘…/node_modules/react-native/’ pod ‘React-RCTActionSheet’, :path => ‘…/node_modules/react-native/Libraries/ActionSheetIOS’ pod ‘React-RCTAnimation’, :path => ‘…/node_modules/react-native/Libraries/NativeAnimation’ pod ‘React-RCTBlob’, :path => ‘…/node_modules/react-native/Libraries/Blob’ pod ‘React-RCTImage’, :path => ‘…/node_modules/react-native/Libraries/Image’ pod ‘React-RCTLinking’, :path => ‘…/node_modules/react-native/Libraries/LinkingIOS’ pod ‘React-RCTNetwork’, :path => ‘…/node_modules/react-native/Libraries/Network’ pod ‘React-RCTSettings’, :path => ‘…/node_modules/react-native/Libraries/Settings’ pod ‘React-RCTText’, :path => ‘…/node_modules/react-native/Libraries/Text’ pod ‘React-RCTVibration’, :path => ‘…/node_modules/react-native/Libraries/Vibration’ pod ‘React-Core/RCTWebSocket’, :path => ‘…/node_modules/react-native/’

pod ‘React-cxxreact’, :path => ‘…/node_modules/react-native/ReactCommon/cxxreact’ pod ‘React-jsi’, :path => ‘…/node_modules/react-native/ReactCommon/jsi’ pod ‘React-jsiexecutor’, :path => ‘…/node_modules/react-native/ReactCommon/jsiexecutor’ pod ‘React-jsinspector’, :path => ‘…/node_modules/react-native/ReactCommon/jsinspector’ pod ‘ReactCommon/jscallinvoker’, :path => “…/node_modules/react-native/ReactCommon” pod ‘ReactCommon/turbomodule/core’, :path => “…/node_modules/react-native/ReactCommon” pod ‘Yoga’, :path => ‘…/node_modules/react-native/ReactCommon/yoga’ pod ‘BVLinearGradient’, :path => ‘…/node_modules/react-native-linear-gradient’ pod ‘DoubleConversion’, :podspec => ‘…/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec’ pod ‘glog’, :podspec => ‘…/node_modules/react-native/third-party-podspecs/glog.podspec’ pod ‘Folly’, :podspec => ‘…/node_modules/react-native/third-party-podspecs/Folly.podspec’

permissions_path = ‘…/node_modules/react-native-permissions/ios’

pod ‘Permission-BluetoothPeripheral’, :path => “#{permissions_path}/BluetoothPeripheral.podspec” pod ‘Permission-Calendars’, :path => “#{permissions_path}/Calendars.podspec” pod ‘Permission-Camera’, :path => “#{permissions_path}/Camera.podspec” pod ‘Permission-Contacts’, :path => “#{permissions_path}/Contacts.podspec” pod ‘Permission-FaceID’, :path => “#{permissions_path}/FaceID.podspec” pod ‘Permission-LocationAlways’, :path => “#{permissions_path}/LocationAlways.podspec” pod ‘Permission-LocationWhenInUse’, :path => “#{permissions_path}/LocationWhenInUse.podspec” pod ‘Permission-MediaLibrary’, :path => “#{permissions_path}/MediaLibrary.podspec” pod ‘Permission-Microphone’, :path => “#{permissions_path}/Microphone.podspec” pod ‘Permission-Motion’, :path => “#{permissions_path}/Motion.podspec” pod ‘Permission-Notifications’, :path => “#{permissions_path}/Notifications.podspec” pod ‘Permission-PhotoLibrary’, :path => “#{permissions_path}/PhotoLibrary.podspec” pod ‘Permission-Reminders’, :path => “#{permissions_path}/Reminders.podspec”

pod ‘Permission-Siri’, :path => “#{permissions_path}/Siri.podspec”

pod ‘Permission-SpeechRecognition’, :path => “#{permissions_path}/SpeechRecognition.podspec” pod ‘Permission-StoreKit’, :path => “#{permissions_path}/StoreKit.podspec”

pod ‘rn-fetch-blob’, :path => ‘…/node_modules/rn-fetch-blob’

pod ‘react-native-camera’, :path => ‘…/node_modules/react-native-camera’ #use_native_modules! #pod ‘RNPermissions’, :path => ‘…/node_modules/react-native-permissions’

use_native_modules!

end

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:5

github_iconTop GitHub Comments

8reactions
ptcasacommented, Oct 15, 2019

I have same problem after upgrade react-native 0.61.2

4reactions
eliabiraschicommented, Oct 29, 2019

My changes were slightly different and I found extremely helpful the upgrade-helper tool. Specifically the diff between v 0.60.6 and v 0.61.2 (there)

Read more comments on GitHub >

github_iconTop Results From Across the Web

23 - Stack Overflow
ios - No podspec found for `React-Core` in `../node_modules/react-native/React` - Stack Overflow. Stack Overflow for Teams – Start collaborating and sharing ...
Read more >
No podspec found issue #78 - GitHub
Just in case, I would suggest to remove Podfile.lock, as well as the Pods folder, do a complete pod install from scratch, clean...
Read more >
No podspec found for `react-native… | Apple Developer Forums
I got clone to a repo and I installed node modules correctly without any errors, but when I run pod install in the...
Read more >
Sign in - YouTube
iOS : No podspec found for `React-Core` in `../node_modules/react-native/React` [ Beautify Your Computer ...
Read more >
No podspec found when specifying custom git repo in Podfile
No podspec found for `MKNetworkKit` in /Users/administrator/xworkspace/Ich-Beweg-Mich-iPhone/IchBewegMich/Pods/MKNetworkKit/MKNetworkKit.
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