Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CocoaPods could not find compatible versions for pod "RiveRuntime" #238

Open
abdullatifHH opened this issue May 14, 2024 · 5 comments
Open

Comments

@abdullatifHH
Copy link

Description

  • Even though i have manually update pod file to min target version to 14.0 like in the below, things are not working as expected.
podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties.json'))) rescue {}

ENV['RCT_NEW_ARCH_ENABLED'] = podfile_properties['newArchEnabled'] == 'true' ? '1' : '0'
ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] = podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR']

MIN_IOS_OVERRIDE = '14.0'
if Gem::Version.new(MIN_IOS_OVERRIDE) > Gem::Version.new(min_ios_version_supported)
    min_ios_version_supported = MIN_IOS_OVERRIDE
end
platform :ios, min_ios_version_supported

Error:

[!] CocoaPods could not find compatible versions for pod "RiveRuntime":
  In Podfile:
    rive-react-native (from `../node_modules/rive-react-native`) was resolved to 7.0.3, which depends on
      RiveRuntime (= 5.11.3)

None of your spec sources contain a spec satisfying the dependency: `RiveRuntime (= 5.11.3)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.
Screenshot 2024-05-14 at 1 38 12 PM

Device & Versions (please complete the following information)

System:
  OS: macOS 14.1
  CPU: (11) arm64 Apple M3 Pro
  Memory: 355.02 MB / 18.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.11.0
    path: ~/.nvm/versions/node/v20.11.0/bin/node
  Yarn:
    version: 1.22.22
    path: ~/Code/Tech/WellnessScoutsV2/stuff-old/HealthHustler/hustle/ui/hustle-ui/node_modules/.bin/yarn
  npm:
    version: 10.2.4
    path: ~/.nvm/versions/node/v20.11.0/bin/npm
  Watchman:
    version: 2024.03.18.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - visionOS 1.0
      - watchOS 10.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2023.1 AI-231.9392.1.2311.11330709
  Xcode:
    version: 15.2/15C500b
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.10
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.4
    wanted: 0.73.4
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: false
@sugaith
Copy link

sugaith commented May 29, 2024

same

3 similar comments
@nicholascostadev
Copy link

same

@DanilKasianenko
Copy link

same

@namcancode
Copy link

same

@tslater
Copy link

tslater commented Oct 26, 2024

I was able to solve this by running:
pod repo update on my machine. Not sure why I needed to do this. Never was necessary before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants