iampossible / Cordova-DocPicker

iOS plugin for Cordova writting in Swift.
11 stars 18 forks source link

Xcode crashes while generating build #15

Open 08Thug opened 4 years ago

08Thug commented 4 years ago

Ionic Info: Ionic CLI : 5.4.9 (/usr/local/lib/node_modules/ionic) Ionic Framework : @ionic/angular 4.11.5 @angular-devkit/build-angular : 0.13.8 @angular-devkit/schematics : 7.2.4 @angular/cli : 7.3.8 @ionic/angular-toolkit : 1.4.1

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : ios 5.1.1 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.0, (and 45 other plugins)

Utility:

cordova-res : 0.6.0 (update available: 0.10.0) native-run : 0.2.8 (update available: 0.3.0)

System:

ios-deploy : 1.9.4 ios-sim : 8.0.2 NodeJS : v10.16.0 npm : 6.10.0 OS : macOS Mojave Xcode : Xcode 11.2.1 Build version 11B500

After installing cordova and npm plugins ive generated the build ,after opening xcode ive cleaned the project and generated the build the xcode crashes

I first used this plugin: ionic cordova plugin add cordova-plugin-documentpicker.DocumentPicker it showed some error so i've used this:cordova plugin add https://github.com/iampossible/Cordova-DocPicker.git

danielberebel commented 3 years ago

Same here with Capacitor

Ionic CLI : 6.12.3 Ionic Framework : @ionic/angular 5.5.2 @angular-devkit/build-angular : 0.1000.8 @angular-devkit/schematics : 10.2.1 @angular/cli : 10.2.1 @ionic/angular-toolkit : 2.3.3

Capacitor:

Capacitor CLI : 2.4.5 @capacitor/core : 2.4.5

Cordova:

Cordova CLI : 10.0.0 Cordova Platforms : not available Cordova Plugins : not available

Utility:

cordova-res : 0.15.2 native-run (update available: 1.3.0) : 1.2.2

System:

Android SDK Tools : 26.1.1 ios-sim : 8.0.2 NodeJS : v10.22.0 npm : 6.14.10 OS : macOS Catalina Xcode : Xcode 11.1 Build version 11A1027


capacitor-cordova-ios-plugins/sources/CordovaPluginDocumentpicker/DocumentPicker.swift:52:68: Cannot convert value of type '[String.Element]' (aka 'Array') to expected argument type '[String]'