This question is locked. New answers and comments are not allowed.
Hi.
I am trying to build and deploy my application through the AppBuilder Extension for Visual Studio 2012. I keep getting the following error - and since I am kind of a newb with regards to mobile appliation Development, I simply have no clue how to fix it. I've searched high and low for an answer, but with no luck. I did find some references to something called grunt and an error in node.js. However it seems, that its the build process on the server which fails.
The build output from VS produces the following:
Project files uploaded to the cloud.
Sending build request for project CarLeasePrognosis with parameters ProjectTypeGuids={070BCB52-5A75-4F8C-A973-144AF0EAFCC9}
AppIdentifier=info.moesby.*
ProjectName=CarLeasePrognosis
ProjectGuid=6a3c8a87-f918-4cad-9fa3-b22135300849
Platform=iOS
MobileProvisionIdentifier=d9fb20f4-5b65-4d71-934f-91d37cf4ac5d
iOSCodesigningIdentity=iPhone Developer Dennis Moesby (M2PKB8L9BK)
AndroidCodesigningIdentity=
Configuration=Release
FrameworkVersion=3.2.0
CorePlugins=org.apache.cordova.battery-status;org.apache.cordova.camera;org.apache.cordova.media-capture;org.apache.cordova.console;org.apache.cordova.contacts;org.apache.cordova.device;org.apache.cordova.device-motion;org.apache.cordova.device-orientation;org.apache.cordova.file;org.apache.cordova.file-transfer;org.apache.cordova.geolocation;org.apache.cordova.globalization;org.apache.cordova.inappbrowser;org.apache.cordova.media;org.apache.cordova.network-information;org.apache.cordova.dialogs;org.apache.cordova.splashscreen;org.apache.cordova.vibration
AndroidPermissions=android.permission.CAMERA;android.permission.VIBRATE;android.permission.ACCESS_COARSE_LOCATION;android.permission.ACCESS_FINE_LOCATION;android.permission.ACCESS_LOCATION_EXTRA_COMMANDS;android.permission.READ_PHONE_STATE;android.permission.INTERNET;android.permission.RECEIVE_SMS;android.permission.RECORD_AUDIO;android.permission.MODIFY_AUDIO_SETTINGS;android.permission.READ_CONTACTS;android.permission.WRITE_CONTACTS;android.permission.WRITE_EXTERNAL_STORAGE;android.permission.ACCESS_NETWORK_STATE;android.permission.ACCOUNT_MANAGER;android.permission.GET_ACCOUNTS;android.permission.MANAGE_ACCOUNTS;android.permission.BROADCAST_STICKY
DeviceOrientations=Portrait;Landscape
iOSStatusBarStyle=Default
AndroidHardwareAcceleration=false
iOSDeviceFamily=
BundleVersion=1.0
iOSDisplayName=
AndroidVersionCode=
iOSBackgroundMode=
WP8Capabilities=
WP8Requirements=
WP8SupportedResolutions=ID_RESOLUTION_WVGA;ID_RESOLUTION_WXGA;ID_RESOLUTION_HD720P
WP8TileTitle=
DisplayName=Car Lease Prognosis
WP8ProductID=
WP8PublisherID=
WP8Publisher=
Author=Dennis Moesby
Description=CarLeasePrognosis
LiveSyncToken=pvhGOenlE7P4qOp5kcvQTlEbXzBwNI0BpDURgFZyY0K7wWrN7azBQZso0/mQKuIGBnxnTMw3ZPukR65fzYxqxU8h4vIv65JuKRVwWlH9snNxUemoXXh+Vi9QEwPSKaJGkWc3S09gDyD8W6r5oV+bKg==.
C:\Users\Dennis Moesby\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\hsecwlsj.dmy\Targets\Build.targets(157,3): error : Server build failed. Server output: Project "CarLeasePrognosis.proj" (default targets):
Error: ls: /tmp/3c026245b1e148b58adf057d10b858d3/Cordova320/Resources/splash: No such file or directory
path.js:313
throw new TypeError('Arguments to path.resolve must be strings');
^
TypeError: Arguments to path.resolve must be strings
at Object.exports.resolve (path.js:313:15)
at Object.<anonymous> (/Users/builder/Cordova3/node_modules/pbxmanipular/bin/pbxmanipular:21:21)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3
Done building project "CarLeasePrognosis.proj" -- FAILED.
.
Done building project "CarLeasePrognosis.iceproj" -- FAILED.
Build FAILED.
Additionally the AppBuilder output, produces this:
[2014-04-23 19:41:16.915] Log (Info,Medium): The Windows Phone SDK is not installed on this system. To build and deploy Windows Phone applications on devices, install the Windows Phone SDK.
[2014-04-23 19:41:17.242] Log (Info,Medium): Icenium for Visual Studio version 2014.1.409.2. Icenium server location https://app.icenium.com.
[2014-04-23 19:42:08.640] Log (Info,Medium): Update check completed. The extension is up-to-date. Authenticating with Telerik Platform...
[2014-04-23 19:42:10.381] Log (Info,Medium): The user 'Dennis Moesby' logged in to Telerik Platform.
[2014-04-23 19:42:13.377] Log (Info,Low): Found device Dennis Moesbys iPhone
Device storage attached on Dennis Moesbys iPhone for com.telerik.Icenium.
Saving cordova.ios.js on Dennis Moesbys iPhone failed.
Device storage detached on Dennis Moesbys iPhone for com.telerik.Icenium.
[2014-04-23 20:34:33.742] Log (Exception,High): System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
Parameter name: SelectedIndex
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at Microsoft.VisualStudio.CodeAnalysis.SolutionPage.UpdateComboBoxesAndProjectList(Task t)
at Microsoft.VisualStudio.CodeAnalysis.SolutionPage.<.ctor>b__0(Task t)
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Please advice.
Thanks in advance.
/Dennis Moesby
I am trying to build and deploy my application through the AppBuilder Extension for Visual Studio 2012. I keep getting the following error - and since I am kind of a newb with regards to mobile appliation Development, I simply have no clue how to fix it. I've searched high and low for an answer, but with no luck. I did find some references to something called grunt and an error in node.js. However it seems, that its the build process on the server which fails.
The build output from VS produces the following:
Project files uploaded to the cloud.
Sending build request for project CarLeasePrognosis with parameters ProjectTypeGuids={070BCB52-5A75-4F8C-A973-144AF0EAFCC9}
AppIdentifier=info.moesby.*
ProjectName=CarLeasePrognosis
ProjectGuid=6a3c8a87-f918-4cad-9fa3-b22135300849
Platform=iOS
MobileProvisionIdentifier=d9fb20f4-5b65-4d71-934f-91d37cf4ac5d
iOSCodesigningIdentity=iPhone Developer Dennis Moesby (M2PKB8L9BK)
AndroidCodesigningIdentity=
Configuration=Release
FrameworkVersion=3.2.0
CorePlugins=org.apache.cordova.battery-status;org.apache.cordova.camera;org.apache.cordova.media-capture;org.apache.cordova.console;org.apache.cordova.contacts;org.apache.cordova.device;org.apache.cordova.device-motion;org.apache.cordova.device-orientation;org.apache.cordova.file;org.apache.cordova.file-transfer;org.apache.cordova.geolocation;org.apache.cordova.globalization;org.apache.cordova.inappbrowser;org.apache.cordova.media;org.apache.cordova.network-information;org.apache.cordova.dialogs;org.apache.cordova.splashscreen;org.apache.cordova.vibration
AndroidPermissions=android.permission.CAMERA;android.permission.VIBRATE;android.permission.ACCESS_COARSE_LOCATION;android.permission.ACCESS_FINE_LOCATION;android.permission.ACCESS_LOCATION_EXTRA_COMMANDS;android.permission.READ_PHONE_STATE;android.permission.INTERNET;android.permission.RECEIVE_SMS;android.permission.RECORD_AUDIO;android.permission.MODIFY_AUDIO_SETTINGS;android.permission.READ_CONTACTS;android.permission.WRITE_CONTACTS;android.permission.WRITE_EXTERNAL_STORAGE;android.permission.ACCESS_NETWORK_STATE;android.permission.ACCOUNT_MANAGER;android.permission.GET_ACCOUNTS;android.permission.MANAGE_ACCOUNTS;android.permission.BROADCAST_STICKY
DeviceOrientations=Portrait;Landscape
iOSStatusBarStyle=Default
AndroidHardwareAcceleration=false
iOSDeviceFamily=
BundleVersion=1.0
iOSDisplayName=
AndroidVersionCode=
iOSBackgroundMode=
WP8Capabilities=
WP8Requirements=
WP8SupportedResolutions=ID_RESOLUTION_WVGA;ID_RESOLUTION_WXGA;ID_RESOLUTION_HD720P
WP8TileTitle=
DisplayName=Car Lease Prognosis
WP8ProductID=
WP8PublisherID=
WP8Publisher=
Author=Dennis Moesby
Description=CarLeasePrognosis
LiveSyncToken=pvhGOenlE7P4qOp5kcvQTlEbXzBwNI0BpDURgFZyY0K7wWrN7azBQZso0/mQKuIGBnxnTMw3ZPukR65fzYxqxU8h4vIv65JuKRVwWlH9snNxUemoXXh+Vi9QEwPSKaJGkWc3S09gDyD8W6r5oV+bKg==.
C:\Users\Dennis Moesby\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\hsecwlsj.dmy\Targets\Build.targets(157,3): error : Server build failed. Server output: Project "CarLeasePrognosis.proj" (default targets):
Error: ls: /tmp/3c026245b1e148b58adf057d10b858d3/Cordova320/Resources/splash: No such file or directory
path.js:313
throw new TypeError('Arguments to path.resolve must be strings');
^
TypeError: Arguments to path.resolve must be strings
at Object.exports.resolve (path.js:313:15)
at Object.<anonymous> (/Users/builder/Cordova3/node_modules/pbxmanipular/bin/pbxmanipular:21:21)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3
Done building project "CarLeasePrognosis.proj" -- FAILED.
.
Done building project "CarLeasePrognosis.iceproj" -- FAILED.
Build FAILED.
Additionally the AppBuilder output, produces this:
[2014-04-23 19:41:16.915] Log (Info,Medium): The Windows Phone SDK is not installed on this system. To build and deploy Windows Phone applications on devices, install the Windows Phone SDK.
[2014-04-23 19:41:17.242] Log (Info,Medium): Icenium for Visual Studio version 2014.1.409.2. Icenium server location https://app.icenium.com.
[2014-04-23 19:42:08.640] Log (Info,Medium): Update check completed. The extension is up-to-date. Authenticating with Telerik Platform...
[2014-04-23 19:42:10.381] Log (Info,Medium): The user 'Dennis Moesby' logged in to Telerik Platform.
[2014-04-23 19:42:13.377] Log (Info,Low): Found device Dennis Moesbys iPhone
Device storage attached on Dennis Moesbys iPhone for com.telerik.Icenium.
Saving cordova.ios.js on Dennis Moesbys iPhone failed.
Device storage detached on Dennis Moesbys iPhone for com.telerik.Icenium.
[2014-04-23 20:34:33.742] Log (Exception,High): System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
Parameter name: SelectedIndex
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at Microsoft.VisualStudio.CodeAnalysis.SolutionPage.UpdateComboBoxesAndProjectList(Task t)
at Microsoft.VisualStudio.CodeAnalysis.SolutionPage.<.ctor>b__0(Task t)
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Please advice.
Thanks in advance.
/Dennis Moesby