I know this is a long shot but, I’ve been having trouble with a linker error that I specifically don’t understand. Please refer to the picture below.

The project contains 4 targets. This error points specifically to one target that is a BSD/Shell helper tool written in c.
I’m sorry for being vague, as I don’t fully understand what might be the problem. Any suggestions? Thank you.
Usually, this means that the source file that defines
main()hasn’t been added to the corresponding target.Another possible reason is that the source file that contains
main()is being compiled for an architecture (e.g. i386 only) but the target/executable specifies a different architecture (e.g. x86_64 only or fat/universal).One strategy to help with diagnosing this issue is running
xcodebuildagainst your project+target to inspect the commands that are being issued to compile and link the target.When all else fails, remove the target and add it again.