Hi, I’m having problems building my first iOS debug app using VoltBuilder, same configuration works for Android without any issues.
Build fails with error: UserError: File not found: TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received undefined. The log shows after
copy www/toolbox/bs4/dist/open-iconic/fonts/open-iconic.woff platforms/ios/www/toolbox/bs4/dist/open-iconic/fonts/open-iconic.woff (new file)
The "url" argument must be of type string. Received undefined
TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:371:5)
at validateString (node:internal/validators:120:11)
at Url.parse (node:url:169:3)
at Object.urlParse [as parse] (node:url:156:13)
at parseWhitelistUrlForATS (/platforms/ios/cordova/lib/prepare.js:1001:22)
at /platforms/ios/cordova/lib/prepare.js:960:25
at Array.reduce (<anonymous>)
at processAccessAndAllowNavigationEntries (/platforms/ios/cordova/lib/prepare.js:951:10)
at writeATSEntries (/platforms/ios/cordova/lib/prepare.js:1079:18)
at updateProject (/platforms/ios/cordova/lib/prepare.js:208:17)
And later in the log after:
copy platforms/ios/platform_www/plugins/cordova-plugin-statusbar/www/statusbar.js platforms/ios/www/plugins/cordova-plugin-statusbar/www/statusbar.js (updated file)
The "url" argument must be of type string. Received undefined
TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:371:5)
at validateString (node:internal/validators:120:11)
at Url.parse (node:url:169:3)
at Object.urlParse [as parse] (node:url:156:13)
at parseWhitelistUrlForATS (/platforms/ios/cordova/lib/prepare.js:1001:22)
at /platforms/ios/cordova/lib/prepare.js:960:25
at Array.reduce (<anonymous>)
at processAccessAndAllowNavigationEntries (/platforms/ios/cordova/lib/prepare.js:951:10)
at writeATSEntries (/platforms/ios/cordova/lib/prepare.js:1079:18)
at updateProject (/platforms/ios/cordova/lib/prepare.js:208:17)
File not found: TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received undefined
This could be caused by a problem with a plugin.
reset_keychain
I use no additional plugins and a default VoltBuilder config.xml, just made the suggested changes to use Cordova11.
Could anyone give me a hint on where to check what’s causing the issue?
Thanks