I'm using xcode 10.1, macOS "Mojave" and my project is in swift 4.0. I am able to run the application on device but I can't archive. I have tried many solutions but nothing worked and now I'm stuck.
This is the error it is showing, when I click on the error in the project Navigator, the Xcode crashes. Can someone please tell me what could be the reason?
linker command failed with exit code 1 (use -v to see invocation)