How to fix missing write access error when using remotebuild with cordova ios? - visual-studio

I'm running my ionic cordova project and build ios version using visual taco remotebuild, and I have an error when building my app. It seems related to directory permissions. How to fix this error?
This is for Visual Studio 2017, Xcode 9.1

I fix this error by following this to upgrade vs tool set version 7.1.0 and everything work fine.

Related

Android Studio 4.1.2 NDK path config error

when running program in Mac Pro 10.15.7,
Android Studio 4.1.2 reports
NDK is missing a "platforms" directory.
when handling in File / Project Structure/ SDK Location
This is the same, neither are its sub folders
I can not save it , very strange
I have tried download the latest
how to solve the NDK problem?
because of come code error,
Android Studio reports sth unrelated, like this

occurred evaluating root project 'android' No installed build tools found. Install the Android build tools version 19.1.0 ionic 3

i'm getting this error for building unsigned apk for ionic 3
i'm getting this error
What went wrong: problem occurred evaluating root project 'android'.
No installed build tools found. Install the Android build tools
version 19.1.0 or higher.
i have installed android studio 9.*
which looks like this
the command that i followed
ionic cordova platform rm android
cordova run android
Thanks in Advance!!
Seems like your Android SDK is not updated.

how to update cordova-ios version in visual studio 2015 cordova project?

I'm developing ios app using cordova template in visual studio 2015.
I have configured mac book as described in this link .https://taco.visualstudio.com/en-us/docs/ios-guide/#run-your-app-in-an-ios-simulator.
Installed xcode version is 8.3.
when i try to run app in an ios simulator , getting following error. so, how to fix this, please help .thanks.
Error: Remote build error from the build server Build failed with error Remotebuild requires your projects to use cordova-ios 4.3.0 or greater with XCode 8.3. Please update your cordova-ios version.
From this link you can see how to update cordova:
npm update -g cordova
On next link you can find instructions for ios cordova update. Basically its just removing ios platform and adding it back again for projects built with Cordova 4.x version:
cordova platform rm ios
cordova platform add ios
For older versions use:
cordova platform update ios
Visual Studio 2015 was forcing the 4.1.1 version for cordova-ios.
This worked for me on the command line:
cordova platform add ios#4.3.1
cordova-ios 4.3.1
Note: And i deleted the "bld" folder from the cordova project root.
This is what worked for me in Visual Studio 2017 Community Edition.
1) Delete the platforms / ios folder in the root folder of your project
2) In the platforms folder, edit the platforms.json file manually with the version you want, in my case it was:
{
"android": "5.2.1",
"ios": "4.3.0"
}
3) Update your config.xml file in your project like so:
<engine name="ios" spec="4.3.0" />
4) Run your project.

Visual Studio Hangs After Cordova Run

My Visual Studio Enterprise Hangs after i build and run my Cordova Application. Take note that I have not done anything yet but create the app then run it.
I tried changing my CLI to: 5.3.3 but still gives the same problem.
My current CLI version is 6.1.2
Help

PhoneGap 3.3.0 WP8 project giving MSBuild error

I've decided to try PhoneGap and installed the Node package for it. (Phonegap 3.3.0)
Android projects work fine. But when I try to build a WP8 (or WP7) App I get this error:
An error occurred while building the wp7 project.ERROR: MSBuild failed
to create .xap when building cordova-wp7 for debugging.
I'm running Windows 8 Pro 64 bit, Visual Studio 2013 Ultimate, NodeJS & PhoneGap 3.3.0
A sidenote: WP8 Projects created with the Cordova Project Templates work perfectly fine.
It's the command line version that's giving me trouble.
I faced the same issue...
Perhaps it's an issue of the required files (for compilation) not being at the said path, since I could resolve it by running in the Visual Studio Command Prompt & compile successfully:

Resources