Comments (12)
Hey,
we have the same issue in our project. We are using Flutter add-to-existing-app.
@SergeShkurko regarding your comment:
- yes we have native_pdf_renderer installed as a
dependency
More specifically we have native_pdf_view (v2.1.1) as a dependency and native_pdf_renderer gets installed automatically - We have the current version of native_pdf_renderer (v1.6.2)
- We have configured
SWIFT LANGUAGE VERSION
to Swift 5 inside of the Build Settings of our own iOS Project
Does anybody have a clue whats wrong there?
from packages.flutter.
I just fixed putting use_frameworks!
in Podfile.
from packages.flutter.
- Package [native_pdf_view] it should be installed as
dependency
, but notdev_dependency
- What version of the package?
- Do you have compilation swift 5 configured? (#3)
from packages.flutter.
@saqibcare any news?
from packages.flutter.
@tomkuschka have tried run pod install
& pod update
in ios dir?
from packages.flutter.
@SergeShkurko Yes we have tried. On pod install
it seems like the wrong versions gets installed
And on pod update
nothing happens…
Downloading dependencies
Installing FlutterPluginRegistrant 0.0.1
Installing native_pdf_renderer (1.0.0)
Generating Pods project
Integrating client project
Adding Acknowledgements
Pod installation complete! There are 67 dependencies from the Podfile and 92 total pods installed.```
from packages.flutter.
@tomkuschka I had an idea what could be the problem.
last lines from your xcode build error:
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target 'Reachability' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target 'FMDB' from project 'Pods')
it seems that xcode cannot normally determine the minimum version of ios to build
you can set it in /ios/Podfile
platform :ios, '8.0'
from packages.flutter.
On file NativePDFRendererPlugin.m can you replace the line
#import <native_pdf_renderer/native_pdf_renderer-Swift.h>
with the following
#if __has_include(<native_pdf_renderer/native_pdf_renderer-Swift.h>)
#import <native_pdf_renderer/native_pdf_renderer-Swift.h>
#else
// Support project import fallback if the generated compatibility header
// is not copied when this plugin is created as a library.
// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816
#import "native_pdf_renderer-Swift.h"
#endif
from packages.flutter.
I just fixed putting
use_frameworks!
in Podfile.
Do not work for me. Is there anything I missed? Help me please !!
from packages.flutter.
@jazzbpn try run pod update
in ios dir
from packages.flutter.
I understand this is an old thread, However, I had the very same issue, but when I added use_frameworks! and uncommented the line above, the app built out ok.
Needless to say, I had spent a few hours tracking the issue and even deleted the ios folder, which now seems to be an extreme step.
Thanks to this thread though, the problem is resolved and I can move onto the next one (when it arrives).
from packages.flutter.
i find resolve for issue: 4bf3a1a#diff-e0ed43e59738eb60fb8bb95deb1c3ecaed9f72dd87f2fa4c61cba76334761119R2
publisher in native_pdf_renderer v2.4.0 & native_pdf_view v3.9.0
from packages.flutter.
Related Issues (20)
- Null check operator used on a null value
- Error in iOS: Could not build the precompiled application for the device.
- LiveList.options not working with NotificationListener
- Drawing annotations on the pdfx
- pdfx: Migrate to `package:web` to support WASM HOT 2
- PDFx: page resize with different aspect ratio HOT 1
- When the PDF is one-page-long and user zooms in, he cannot zoom out completely.
- Printing and pdfx are incompatible in windows
- How can i custom Widget?
- Support for js ^0.7.1
- pdfx 2.6.0 does not build on Windows
- Support for Signature widgets/annotations ?
- getting cfi as null "/6/0[null]!/4/2/4" in middle HOT 1
- [pdfx] Android : Close document throw a PlateformException with an Unknown error HOT 1
- [pdfx] Update to `device_info_plus` >= 10.0.1 HOT 11
- Support js 0.7.1 in pdfx
- Can you update the image package to be compatible with other packages ?
- An unhandleable error is thrown when attempting to display unsupported files, such as password-protected PDFs
- updagre to photo_view 0.15.0
- Please update to support photo_view 0.15.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packages.flutter.