It happened to me and the error looked like this: " unknown argument: '-Xlinker -interposable'" This error typically occurs when the build system or a specific build configuration passes an invalid argument to the clang compiler or linker.
Look for custom linker flags (OTHER_LDFLAGS) in your Xcode project or target settings that include -Xlinker -interposable.
Open Xcode, go to your project settings: Select your project in the navigator. Go to Build Settings > Linking > Other Linker Flags. If -Xlinker -interposable (Or the error you have) appears there, remove it or comment it out temporarily to test if the error resolves. run again