There should be some published way to keep the visual studio version of Cordova, the OSX version of Cordova and the XCode version in sync. Surely someone at Microsoft has encountered this. How do I upgrade the cordova-ios version that is integrated with Visual Studio? This seems to be the underlying issue. Once again I have to manually set the visual studio cordova-ios version back to 7.0.1 in config.xml, and then it works again until I open the project again. If 'Yes' is chosen, the cordovia-ios version is set back to 4.2.0 (the version integrated with Visual Studio). If 'No' is chosen, the project is disabled and cannot be built or run. 'Your Cordova project needs to be updated to work with Visual Studio'. Now the issue is that every time I open the project in visual studio, I get the following error: I globally installed cordova-ios 7.0.1 on my Visual Studio machine, and if I manually select this version in my config.xml, then the build error on the OSX side goes away (that is 7.0.1 is > 4.3.0, so the app builds, and deploys). Using cordova-ios version 4.2.0 on the Visual Studio side causes the error 'Build failed with error Remotebuild requires your projects to use cordova-ios 4.3.0 or greater with XCode 8.3'. Visual studio wants to use cordova-ios version 4.2.0 (which is the version installed with and integrated with Visual Studio 2017). The issue is not on the mac, but in Visual Studio.
0 Comments
Leave a Reply. |