- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have 5 apps of one same family (confirmaki). I made a visual update and need to publish again on Google Play and Apple Store.
I builded all in Android (Cordova) and published on Google Play this week. It is everything OK.
Now I am trying to do the same to iOS. Three of these apps I builded and send to review, but 2 of them I am receiving error: "TypeError: Arguments to path.join must be strings".
I checked all the stuff names and didn´t find any issue.
The last lines of the log is above:
Copying icon from .../ConfirmAkiPremium/www/assets/apple/Icon-100.png to .../ConfirmAkiPremium/platforms/ios/ConfirmAkiPremium/Resources/icons/icon-50@2x.png Copying splash from .../ConfirmAkiPremium/www/assets/apple/Defaultiphone.png to .../ConfirmAkiPremium/platforms/ios/ConfirmAkiPremium/Resources/splash/Default~iphone.png Copying splash from .../ConfirmAkiPremium/www/assets/apple/Default2xiphone_640x960.png to .../ConfirmAkiPremium/platforms/ios/ConfirmAkiPremium/Resources/splash/Default@2x~iphone.png TypeError: Arguments to path.join must be strings at path.js:360:15 at Array.filter (native) at Object.exports.join (path.js:358:36) at /Developer/cordova/5.1.1/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/ios_parser.js:171:28 at Array.forEach (native) at ios_parser.update_from_config (/Developer/cordova/5.1.1/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/ios_parser.js:168:27) at ios_parser.update_project (/Developer/cordova/5.1.1/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/ios_parser.js:263:17) at /Developer/cordova/5.1.1/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:126:27 at Array.map (native) at /Developer/cordova/5.1.1/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:70:40
The complete file is attached.
Someone knows what is that? Thanks you.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the problem!!
I looked inside the .xdk file and found some lost lines...
{ "relPath": "", "height": 1004, "width": 768, "orientation": "portrait" }, { "relPath": "", "height": 1004, "width": 768, "orientation": "portrait" }, { "relPath": "", "height": 1496, "width": 2048, "orientation": "landscape" }, { "relPath": "", "height": 748, "width": 1024, "orientation": "landscape" },
These splash dimensions are not in the build settings but are inside the file. I removed these lines and the build occurs OK! Probably these lines were used in an old version.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page