Makoto
Posts: 0
Joined: Fri Oct 10, 2014 8:15 am

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Build error with Cordova plugin

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

Makoto
Posts: 0
Joined: Fri Oct 10, 2014 8:15 am

Build error with Cordova plugin

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Build error with Cordova plugin

It seems not correct code was inserted there. Please provide us with the GUID of your project (the link like https://appery.io/app/project/a726ac1...) we will check the build log and say you what is wrong with it

Makoto
Posts: 0
Joined: Fri Oct 10, 2014 8:15 am

Build error with Cordova plugin

Hi Serhii,

my GUID is c814f840-1d23-4269-a617-3f436e3de1f8.

Thank you for your help.

Galyna Abramovych
Site Admin
Posts: 84
Joined: Tue Mar 22, 2016 6:03 pm

Build error with Cordova plugin

Hello again,

Can you make sure that the app under question (Cross) is shared with support: https://docs.appery.io/docs/teams-sha...?

Makoto
Posts: 0
Joined: Fri Oct 10, 2014 8:15 am

Build error with Cordova plugin

Hi Galyna,

I'm sorry about that. I've just turned it on.

Best regards,

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Build error with Cordova plugin

Please see the build error below:prestdout: 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: /pre

Please be sure all images are there

Makoto
Posts: 0
Joined: Fri Oct 10, 2014 8:15 am

Build error with Cordova plugin

Hi Serhii,

thank you for sharing the log data. I'll check it.

Makoto
Posts: 0
Joined: Fri Oct 10, 2014 8:15 am

Build error with Cordova plugin

Hi Serhii,

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

Thank you very much!

Return to “Issues”