Home xcode Error “linker command failed with exit code 1”

Error “linker command failed with exit code 1”




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%

Answer 2

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.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions