Skip to content

Commit fd506a1

Browse files
authored
Merge pull request #877 from syncfusion-content/Flutter_pdfviewer
Resolved from matter issue
2 parents e30c7ee + f3efff0 commit fd506a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Flutter/pdf-viewer/How-to/Resolve-Library-not-loaded-rpath-libswiftCore-dylib-error.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
layout: post
3-
title: Library not loaded: @rpath/libswiftCore.dylib error | Syncfusion
4-
description: Learn here all about how to resolve Library not loaded: @rpath/libswiftCore.dylib error faced when using Syncfusion Flutter PdfViewer (SfPdfViewer) widget.
5-
platform: Flutter
3+
title: Library not loaded error | Syncfusion
4+
description: Learn here all about how to resolve Library not loaded error faced when using Syncfusion Flutter PdfViewer (SfPdfViewer) widget.
5+
platform: flutter
66
control: SfPdfViewer
77
documentation: ug
88
---
99

1010
# How to resolve "Library not loaded: @rpath/libswiftCore.dylib" error?
1111

12-
The Syncfusion Flutter PDF Viewer is a [ffi plugin](https://docs.flutter.dev/packages-and-plugins/developing-packages#types) that uses native code to render the PDF pages. **Java** code is used for **Android**, and **Swift** code is used for **iOS and macOS**. To run the Swift code, the runtime requires the essential Swift standard libraries present in the runpath **“usr/lib/swift.”** If this path is missing from the **Runpath Search Paths** of the project build settings, you will face the error **"Library not loaded: @rpath/libswiftCore.dylib."**
12+
The Syncfusion Flutter PDF Viewer is a [FFI plugin](https://docs.flutter.dev/packages-and-plugins/developing-packages#types) that uses native code to render the PDF pages. **Java** code is used for **Android**, and **Swift** code is used for **iOS and macOS**. To run the Swift code, the runtime requires the essential Swift standard libraries present in the Runpath **“usr/lib/swift.”** If this path is missing from the **Runpath Search Paths** of the project build settings, you will face the error **"Library not loaded: @rpath/libswiftCore.dylib."**
1313

1414
Usually, the **"usr/lib/swift"** path will be added automatically to the **Runpath Search Paths** when you add the Syncfusion Flutter PDF Viewer (SfPdfViewer) package and build the application. But in some cases, due to the machine-specific environment, this path doesn't get added, and so this issue occurs.
1515

0 commit comments

Comments
 (0)