react-native-PDFView icon indicating copy to clipboard operation
react-native-PDFView copied to clipboard

iOS Build Error - Link RNPDF (arm64)

Open Himatheja opened this issue 4 years ago • 3 comments

Latest version of react-native-view-pdf is installed and I'm getting this error on Xcode 13.3 (newly installed) and this was not happening on Xcode 12.5.

Screenshot 2022-03-29 at 5 10 24 PM

"react-native": "0.63.3", "react-native-view-pdf": "0.12.2",

Also used tried with the latest version "react-native-view-pdf": "0.13.2" . Still facing the above issue screenshot attached.

Can anyone help me here?

Himatheja avatar Mar 29 '22 11:03 Himatheja

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 28 '22 15:04 stale[bot]

Hi, i'm tried to add this code

pre_install do |installer|
    installer.pod_targets.each do |pod|
      if pod.name.eql?('RNPDF')
        def pod.build_type
          Pod::BuildType.static_library
        end
      end
    end
  end

to Podfile and it works

found solution here https://github.com/software-mansion/react-native-screens/issues/842#issuecomment-790498006

c-basso avatar Jun 24 '22 16:06 c-basso

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 13 '22 13:08 stale[bot]