Page 1 of 1
Build error with Cordova plugin
Posted: Mon Feb 25, 2019 11:03 pm
by Makoto
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.
Build error with Cordova plugin
Posted: Tue Feb 26, 2019 10:11 am
by Serhii Kulibaba
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
Build error with Cordova plugin
Posted: Tue Feb 26, 2019 10:59 pm
by Makoto
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.
Build error with Cordova plugin
Posted: Wed Feb 27, 2019 1:57 pm
by Serhii Kulibaba
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
Build error with Cordova plugin
Posted: Wed Feb 27, 2019 3:36 pm
by Makoto
Hi Serhii,
my GUID is c814f840-1d23-4269-a617-3f436e3de1f8.
Thank you for your help.
Build error with Cordova plugin
Posted: Wed Feb 27, 2019 5:11 pm
by Galyna Abramovych
Hello again,
Can you make sure that the app under question (Cross) is shared with support: https://docs.appery.io/docs/teams-sha...?
Build error with Cordova plugin
Posted: Wed Feb 27, 2019 11:07 pm
by Makoto
Hi Galyna,
I'm sorry about that. I've just turned it on.
Best regards,
Build error with Cordova plugin
Posted: Thu Feb 28, 2019 9:37 am
by Serhii Kulibaba
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
Build error with Cordova plugin
Posted: Thu Feb 28, 2019 3:50 pm
by Makoto
Hi Serhii,
thank you for sharing the log data. I'll check it.
Build error with Cordova plugin
Posted: Fri Mar 01, 2019 5:20 am
by Makoto
Hi Serhii,
I added the images and I could export the .ipa file.
Thank you very much!