Getting Clang: Error: Linker Command Failed with Exit Code 1 (Use -V to See Invocation) While Google Signing

Showing Recent Issues clang: error: linker command failed with exit code 1 (use -v to see invocation)?

Try to open project.xcworkspace instead of project.xcodeproj.

Note: Press Command + Q to exit xcode. And open
yourfile.xcworkspace.

clang: error: linker command failed with exit code 1 (use -v to see invocation) Xcode 10.2.1

Follow these steps to find a solution.

From the logs I have posted above one thing is clear that the problem in my case was with Notification Content & Notification Service Extension targets

So following This Link based on -L or -R flag you are getting in the logs,

Delete the paths added for Library Search Path or Framework Search Paths as may be required.

For my case I had to do this for Notification Service & Notification Content Extension targets

This may cause more error where you might start getting errors for other framework or search path for same target (which was the case with me),

If such thing happen for any Target then try to delete the Other Linker Flags for the targets you are getting the error.

In my case deleting the Library Search Path & Framework Search Paths as well as Other Linker Flags Did the trick for me.

Showing Recent Issues clang: error: linker command failed with exit code 1 (use -v to see invocation)?

Try to open project.xcworkspace instead of project.xcodeproj.

Note: Press Command + Q to exit xcode. And open
yourfile.xcworkspace.



Related Topics



Leave a reply



Submit