ionic-team / capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
https://capacitorjs.com
MIT License
12k stars 998 forks source link

bug: IOS app not building after adding plugin: cordova-plugin-nordic-update #4958

Closed swendleysprott closed 2 years ago

swendleysprott commented 3 years ago

Bug Report

Capacitor Version

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 3.2.0
  @capacitor/core: 3.2.0
  @capacitor/android: 3.2.0
  @capacitor/electron: 3.2.0
  @capacitor/ios: 3.2.0

Installed Dependencies:

  @capacitor/cli 2.4.0
  @capacitor/core 2.4.0
  @capacitor/ios 2.4.9
  @capacitor/android 2.4.0
  @capacitor/electron not installed

[success] Android looking great! 👌
  Found 21 Capacitor plugins for ios:
    @capacitor-community/bluetooth-le (0.5.1)
    cordova-plugin-advanced-http (3.2.0)
    cordova-plugin-app-version (0.1.12)
    cordova-plugin-ble-central (1.3.1)
    cordova-plugin-dfu-update (1.3.0)
    cordova-plugin-file (6.0.2)
    cordova-plugin-inappbrowser (5.0.0)
    cordova-plugin-nordic-update (0.1.0)
    cordova-plugin-androidx (3.0.0)
    cordova-plugin-androidx-adapter (1.1.3)
    cordova-plugin-device (2.0.3)
    cordova-plugin-fingerprint-aio (4.0.2)
    cordova-plugin-ionic-keyboard (2.2.0)
    cordova-plugin-ionic-webview (4.2.1)
    cordova-plugin-splashscreen (5.0.4)
    cordova-plugin-statusbar (2.4.3)
    cordova-plugin-taptic-engine (2.2.0)
    cordova-plugin-whitelist (1.3.4)
    cordova-plugin-wifiwizard2 (3.1.1)
    es6-promise-plugin (4.2.2)
    phonegap-plugin-barcodescanner (8.1.0)
[success] iOS looking great! 👌

Platform(s)

IOS

Current Behavior

After installing this cordova plugin the IOS app will not build. I get two errors:

Schermafbeelding 2021-08-24 om 16 45 28

Expected Behavior

After adding the cordova plugin i expect the IOS app to build sucessfully. So i can have excess to the DFU functionalities the plugin provides

Code Reproduction

https://github.com/swendleysprott/sample

Steps to reproduce

  1. Npm install
  2. Npx cap sync
  3. Npx cap open ios
  4. Build IOS app in Xcode

Other Technical Details

npm --version output: 6.13.4

node --version output: v12.16.1

pod --version output (iOS issues only): 1.10.0

Additional Context

ionitron-bot[bot] commented 1 year ago

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.