I recently upgraded VS for mac and getting an error "Custom command execution failed" error. Its a Xamarin Mac project. Any help appreceated.
having same issue, any solutions?
Try this command..
~$ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Ran into a 2 of these after an upgrade. A search of the build output revealed a couple of these.
**_Executing: sh -c 'xcodebuild -project xxx.xcodeproj -configuration Debug clean build'
note: Using new build system
error: Could not delete .../build because it was not created by the build system.
** CLEAN FAILED _
Manually moved the 2 offending "build" folders to Trash and the errors went away. Maybe because of the new OS and dev environment?
In XXX.csproj, I had to replace <CustomCommands><Command><type>BeforeBuild</type><command></command></Command></CustomCommands>
by <CustomCommands><Command type="BeforeBuild" command="" /></CustomCommands>
<Command type="BeforeBuild" command="" />
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies