Tommy
Posts: 0
Joined: Tue Jul 26, 2016 7:38 pm

IPA build failing with generic error

For others who may be struggling with this same error.

Finally heard back from Appery Team the following is their email:

We have reviewed the logs and have located the error:

fatal error: 'Cordova/NSData+Base64.h' file not found
#import
This indicates that the plugin cc.fovea.cordova.purchase has not been connected correctly. So it is recommended that you check this additionally and rebuild.

I had imported a "Purchase Cordova Plugin" and when we upgraded the "External Resources" - Library Version to 4.0 this plugin broke.

All I had to do was uncheck the plugin and the build began to work again.

For all the Appery Developer Team who is reading this. It sure would be nice to be able to see this log inside of your web-based App Builder. As we have been fighting this issue since December 22, 2016. Access to the logs would be very helpful.

ArnelE
Posts: 1
Joined: Mon May 02, 2022 3:06 am

Re: IPA build failing with generic error

I encountered the same problem with no hint what would be the error would be. Please help below are the error logs. Your support is not answering to my support request. Hope someone can help fix this as I need to build update for my IOS version.

***** echo
Installing plugin cordova-plugin-dialogs:2.0.2
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/cordova-plugin-dialogs-rel-2.0.2 --save
    Adding cordova-plugin-dialogs to package.json
    ***** echo

***** echo
Installing plugin cordova-plugin-battery-status:2.0.3
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/cordova-plugin-battery-status-rel-2.0.3 --save
    Adding cordova-plugin-battery-status to package.json
    ***** echo

***** echo
Installing plugin cordova-plugin-device:2.0.3
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/cordova-plugin-device-rel-2.0.3 --save
    Adding cordova-plugin-device to package.json
    ***** echo

***** echo
Installing plugin phonegap-plugin-barcodescanner:8.1.0
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/phonegap-plugin-barcodescanner-8.1.0 --save
    Adding phonegap-plugin-barcodescanner to package.json
    ***** echo

***** echo
Installing plugin cordova-plugin-contacts:3.0.1
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/cordova-plugin-contacts-rel-3.0.1 --save
    Adding cordova-plugin-contacts to package.json
    ***** echo

***** echo
Installing plugin cordova-plugin-splashscreen:5.0.2
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/cordova-plugin-splashscreen-rel-5.0.2 --save
    Adding cordova-plugin-splashscreen to package.json
    ***** echo

***** echo
Installing plugin cordova-plugin-geolocation:4.1.0
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/cordova-plugin-geolocation-rel-4.1.0 --save
    Adding cordova-plugin-geolocation to package.json
    ***** echo

***** echo
Installing plugin cordova-plugin-inappbrowser:5.0.0
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/cordova-plugin-inappbrowser-rel-5.0.0 --save
    Adding cordova-plugin-inappbrowser to package.json
    ***** echo

***** echo
Installing plugin cordova-plugin-wkwebview-engine-allowfileaccess:0.0.1
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/cordova-plugin-wkwebview-engine-allowfileaccess-master --save
    Adding cordova-plugin-wkwebview-engine-allowfileaccess to package.json
    ***** echo

***** echo
Installing plugin cordova-plugin-globalization:1.11.0
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/cordova-plugin-globalization-rel-1.11.0 --save
    Adding cordova-plugin-globalization to package.json
    ***** echo

***** echo
Installing plugin cordova-plugin-file:6.0.2
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/cordova-plugin-file-rel-6.0.2 --save
    Adding cordova-plugin-file to package.json
    ***** echo

***** echo
Installing plugin cordova-plugin-network-information:3.0.0
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/cordova-plugin-network-information-rel-3.0.0 --save
    Adding cordova-plugin-network-information to package.json
    ***** echo

***** echo
Installing plugin cordova-plugin-vibration:3.1.1
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/cordova-plugin-vibration-rel-3.1.1 --save
    Adding cordova-plugin-vibration to package.json
    ***** echo

***** echo
Installing plugin cordova-plugin-camera:6.0.0
***** sh

  • cd app
  • cordova plugin add ../288fac08-938c-4995-94f0-d5c97b839cd5-plugins/cordova-plugin-camera-rel-6.0.0 --save
    Adding cordova-plugin-camera to package.json
    ***** echo

***** sh

***** sh

  • cordova platform add ios@6.2.0 ---no-interactive --confirm
    Using cordova-fetch for cordova-ios@6.2.0
    Adding ios project...
    Creating Cordova project for the iOS platform:
    Path: platforms/ios
    Package: ph.autohub.asa88888
    Name: AUTOHUB_CONNECT
    iOS project created with cordova-ios@6.2.0
    Installing "cordova-plugin-battery-status" for ios
    Installing "cordova-plugin-camera" for ios
    Installing "cordova-plugin-contacts" for ios
    Installing "cordova-plugin-device" for ios
    Installing "cordova-plugin-dialogs" for ios
    Installing "cordova-plugin-file" for ios
    Installing "cordova-plugin-geolocation" for ios
    Installing "cordova-plugin-globalization" for ios
    Installing "cordova-plugin-inappbrowser" for ios
    Installing "cordova-plugin-network-information" for ios
    Installing "cordova-plugin-screen-orientation" for ios
    Installing "cordova-plugin-splashscreen" for ios
    Installing "cordova-plugin-vibration" for ios
    Installing "cordova-plugin-wkwebview-engine-allowfileaccess" for ios
    Installing "phonegap-plugin-barcodescanner" for ios
    Overwriting existing resource file at platforms/ios/platform_www/get_target_platform.js
    ***** echo

Return to “Issues”