pdftron-flutter icon indicating copy to clipboard operation
pdftron-flutter copied to clipboard

CocoaPods could not find compatible versions for pod "PDFNet":

Open CommniaOliver opened this issue 3 years ago • 4 comments

[!] CocoaPods could not find compatible versions for pod "PDFNet": In snapshot (Podfile.lock): PDFNet (from https://www.pdftron.com/downloads/ios/cocoapods/xcframeworks/pdfnet/latest.podspec)

Steps to Reproduce the Problem running "pod install"

ios

CommniaOliver avatar Jul 17 '22 07:07 CommniaOliver

i got the same issue. @terryyoon-pdftron

i edit podfile.lock , change to -' PDFNet (9.3.0.80119).' Then run 'pod install', get the error: ' [!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (/Users/admin/work/project/xxxx/ios/Pods/PDFNet/Tools.xcframework)'

[!] CocoaPods could not find compatible versions for pod "PDFNet":
  In snapshot (Podfile.lock):
    PDFNet (from `https://www.pdftron.com/downloads/ios/cocoapods/xcframeworks/pdfnet/latest.podspec`)

  In Podfile:
    PDFNet (from `https://www.pdftron.com/downloads/ios/cocoapods/xcframeworks/pdfnet/latest.podspec`)

It seems like you've changed the version of the dependency `PDFNet` and it differs from the version stored in `Pods/Local Podspecs`.
You should run `pod update PDFNet --no-repo-update` to apply changes made locally.

zhoulijun12315 avatar Jul 18 '22 07:07 zhoulijun12315

Hey there, could you please try deleting Pods and Podfile.lock, cleaning Pod cache, and running pod install again?

rm -rf Pods Podfile.lock
pod cache clean --all
pod install

Let us know again if the issue persists.

terryyoon-pdftron avatar Jul 21 '22 17:07 terryyoon-pdftron

@terryyoon-pdftron Am facing the same issue in flutter-ios, when i try to install pod (pod install) in terminal, getting the below error. [!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (/Users/admin/work/project/xxxx/ios/Pods/PDFNet/Tools.xcframework)'. I have tried all possible cleaning (flutter clean, pod clean cache), but nothing seems to be worked.

RatheeshSivaraman avatar Jul 27 '22 14:07 RatheeshSivaraman

Hey, would you mind providing us with some additional information that could help us reproduce the issue? (your pubspec.yaml file, Podfile, CocoaPods version, etc.)

terryyoon-pdftron avatar Aug 02 '22 22:08 terryyoon-pdftron