Good day. I had such a nuisance: I was sorting out my jumble of files in Finder, and moved all my Xcode projects into one daddy, and now nothing works. When launching an application on iOS Simulator, Xcode throws this error:
ld: file not found: /Users/Ruslan/Library/Developer/Xcode/DerivedData/Calls-hlhsyihopkugutdgqycqdplhqqoh/Build/Products/Debug-iphonesimulator/CallMe.app/CallMe
Answer 1, authority 100%
I decided to share, maybe it will save someone a week of time, that’s how much I spent on solving this problem.
If you get error linker command failed with exit code 1
Study the lines above carefully. If there is a mention of armv7, then in Valid Architectures in the settings of your project and target, remove this value.