sidlatau / flutter_document_picker

Allows user pick a document. Picked document is copied to app temporary directory. Optionally allows pick document with specific extension only.
Apache License 2.0
41 stars 29 forks source link

iOS build failed #27

Closed Dsapalov closed 5 years ago

Dsapalov commented 5 years ago

Hello after adding flutter_document_picker to my clean project have problem: Error output from Xcode build: ↳ BUILD FAILED

Xcode's output: ↳ === BUILD TARGET flutter_document_picker OF PROJECT Pods WITH CONFIGURATION Debug === **/Users/denis/Documents/work/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_document_picker-3.0.0/ios/Classes/FlutterDocumentPickerPlugin.m:2:9: fatal error: 'flutter_document_picker/flutter_document_picker-Swift.h' file not found

import <flutter_document_picker/flutter_document_picker-Swift.h>**

        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Could not build the application for the simulator.

My pubspec.yaml : dependencies: flutter: sdk: flutter flutter_document_picker: ^3.0.0

cupertino_icons: ^0.1.2

dev_dependencies: flutter_test: sdk: flutter

Thank you.

sidlatau commented 5 years ago

Duplicate of Issue #21