0

I don't know why I have this error("linker command failed with exit code 1 (use -v to see invocation)") on my IOS app.

enter image description here

enter image description here

Barbora
  • 921
  • 1
  • 6
  • 11

2 Answers2

3

This may happen because any of the following reasons.

  • if you do not import the framework properly.

  • if you are opening the .xcodeproj instead of .xcworkspace

  • Check the build settings -> Build Active Architectures only is set to No. (Then change it to YES)

  • Adding the other linker flags in Project and not in Targets. So, you move it to Targets, it shouldn't be in Project
CELIA JOSE
  • 146
  • 4
0

I had a similar problem, and the problem was that mine Framework folder is not inside the project folder.

Build Settings > Framework Search Paths > enter these 2 lines in the window

$(PROJECT_DIR)/../<YOUR_FOLDER_WITH_FRAMEWORKS>
$(inherited)
nja
  • 308
  • 5
  • 11