I am trying to learn SwiftUi. I have just created a new project and already am getting an error in the Automatic preview. The preview failed to build.
The error is...
unable to execute command: Executable "ld" doesn't exist!
LinkDylibError: Failed to build ContentView.swift
Linking failed: unable to execute command: Executable "ld" doesn't exist!
clang-10: error: unable to execute command: Executable "ld" doesn't exist!
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
The error is...
unable to execute command: Executable "ld" doesn't exist!
LinkDylibError: Failed to build ContentView.swift
Linking failed: unable to execute command: Executable "ld" doesn't exist!
clang-10: error: unable to execute command: Executable "ld" doesn't exist!
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)