client-sdk-flutter icon indicating copy to clipboard operation
client-sdk-flutter copied to clipboard

CocoaPods could not find compatible versions for pod "livekit_client"

Open gettoknowdavid opened this issue 2 years ago • 3 comments

Description Livekit implementation on Android works well, but when I try to run it on iOS, we run into this error:

[!] CocoaPods could not find compatible versions for pod "livekit_client":
  In Podfile:
   livekit_client (from '.symlinks/plugins/livekit_client/ios')

Specs satisfying the 'livekit_client (from '.symlinks/plugins/livekit_client/ios')' dependency were found, but they required a higher minimum deployment target.

Steps To Reproduce

  • Implement Livekit
  • Run pod install
  • See error

Additional Context I tried changing the minimum deployment target (12.1, 13.6 and even 16.1) but it did not resolve the issue. How can I solve this?

gettoknowdavid avatar Sep 14 '23 18:09 gettoknowdavid

try running pod repo update first

davidzhao avatar Sep 15 '23 06:09 davidzhao

This usually requires clearing the pod cache, Please refer to the steps below

  1. Make sure platform :ios, '12.1' is in ios/Podfile

  2. Run the following commands

flutter clean
cd ios && rm -rf Pods Podfile.lock && pod cache clean -all && pod deintegrate
cd .. && flutter pub get 
cd ios && pod install --repo-update
cd .. && flutter build ios

cloudwebrtc avatar Sep 26 '23 01:09 cloudwebrtc

pod "livekit_client" will conflict with library "livekit_client" from flutter. Change "spec.name" in LiveKitClient.podspec to other name it will work

Khanhdtr avatar Jan 31 '24 07:01 Khanhdtr