123
123

Reputation: 71

compiler/linker error while building app

My app crashes if I try to build it. It says: linker command failed with exit code 1 (use -v to see invocation)

Here's the crash:

enter image description here

Upvotes: 0

Views: 65

Answers (2)

propster
propster

Reputation: 577

⌘ + B.

If that doesn't work

1- Click on Product

2- Hold down option to reveal hidden menu.

3- Click Clean Build Folder

Upvotes: 0

Oleshko
Oleshko

Reputation: 3093

Try next:

  1. Goto application's target
  2. Compile Sources
  3. Remove duplicate file using (-).

Also this problem may occur just because of typo when including the header; so check that the header file (.h) is included and not the implementation file (.m)

And here is a cool article about this issue.

Upvotes: 1

Related Questions