Build error with Cordova plugin

Hello,

when I try to export a .ipa file, Build error message appears without any reason. I edited a Cordova plugin in GitHub and then I imported it. In the case I use an existing a Cordova plugin as it is (without edit), I can export the .ipa file. What is the possible cause?

Thank you.
1 person has
this question
+1
Reply
  • Hello,

    What did you change in the plugin? Did it work before changes?

    Unfortunately, any help (and/or debugging) with your custom app code or logic as well as 3rd party Apache Cordova/PhoneGap plugins are not covered by our [Support policy] (https://docs.appery.io/docs/general-s...).
    To get such help, you will need to consider purchasing Advisory Pack: (https://appery.io/services/#Advisory_...)

    We can provide you an error from the build log, if you need it
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • Hello Serhii,

    thank you for your reply. I answered your questions.

    What did you change in the plugin?
    I changed the 2 files, plugin.xml and CDVThemeableBrowser.m. I added some codes to the plugin.xml and change the code a little in CDVThemeableBrowser.m.

    Did it work before changes?
    Yes, it worked properly. At first, I imported the original plugin and then I could export the .ipa file successfully.

    Thank you.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • Please see the build error below:
    stdout: Error during processing of action! Attempting to revert...
    stdout:

    stdout: Failed to install 'cordova-plugin-themeablebrowser': CordovaError: Uh oh!
    "/Users/appery/Jenkins/root/workspace/554868-ios/154739/554868/ios/app/plugins/cordova-plugin-themeablebrowser/src/android/res/drawable-xhdpi/reload.png" not found!
    at copyFile (/Users/appery/Jenkins/root/workspace/554868-ios/154739/554868/ios/app/platforms/android/cordova/lib/pluginHandlers.js:219:36)
    at install (/Users/appery/Jenkins/root/workspace/554868-ios/154739/554868/ios/app/platforms/android/cordova/lib/pluginHandlers.js:74:13)
    at ActionStack.process (/Users/appery/Jenkins/root/workspace/554868-ios/154739/554868/ios/app/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
    at PluginManager.doOperation (/Users/appery/Jenkins/root/workspace/554868-ios/154739/554868/ios/app/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:114:20)
    at PluginManager.addPlugin (/Users/appery/Jenkins/root/workspace/554868-ios/154739/554868/ios/app/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:144:17)
    at /Users/appery/Jenkins/root/workspace/554868-ios/154739/554868/ios/app/platforms/android/cordova/Api.js:243:74
    at _fulfilled (/Users/appery/Jenkins/root/workspace/554868-ios/154739/554868/ios/app/platforms/android/cordova/node_modules/q/q.js:854:54)
    at self.promiseDispatch.done (/Users/appery/Jenkins/root/workspace/554868-ios/154739/554868/ios/app/platforms/android/cordova/node_modules/q/q.js:883:30)
    at Promise.promise.promiseDispatch (/Users/appery/Jenkins/root/workspace/554868-ios/154739/554868/ios/app/platforms/android/cordova/node_modules/q/q.js:816:13)
    at /Users/appery/Jenkins/root/workspace/554868-ios/154739/554868/ios/app/platforms/android/cordova/node_modules/q/q.js:570:49
    stdout:

    stderr: Error: Uh oh!
    "/Users/appery/Jenkins/root/workspace/554868-ios/154739/554868/ios/app/plugins/cordova-plugin-themeablebrowser/src/android/res/drawable-xhdpi/reload.png" not found!
    stderr:


    Please be sure all images are there
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • Hi Serhii,


    thank you for sharing the log data. I'll check it.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • Hi Serhii,

    I added the images and I could export the .ipa file.

    Thank you very much!
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned