0

I used google signIn in my App. "build success" with simulator but an error appeared when I run with iPhone.

error message is as below:

linker command failed with exit code 1 (use -v to see invocation)

Thanks for any help.

Peppo
  • 1,107
  • 1
  • 12
  • 19
  • this is the common error show your full error – Anbu.Karthik Oct 01 '15 at 12:53
  • ld: library not found for -lFMDB clang: error: linker command failed with exit code 1 (use -v to see invocation) – Jacky Hung Oct 01 '15 at 13:55
  • above is what show in the program. Thanks. – Jacky Hung Oct 01 '15 at 13:56
  • [642:10523] Successfully configured [SignIn]. [642:10523] Failed to configure []. [642:10523] Subspecs not present, so not configured [Analytics, AdMob, AppInvite, CloudMessaging, Maps]. [642:10523] Subspecs expected to be present [SignIn, Measurement]. – Jacky Hung Oct 03 '15 at 07:24

2 Answers2

0

ld: library not found for -lFMDB clang: error: linker command failed with exit code 1 (use -v to see invocation)

I was getting same error and I got it resolved this way.

Try to set Build Active Architecture Only to NO for 'Pods' project and your app's target

Community
  • 1
  • 1
zeeawan
  • 6,667
  • 2
  • 50
  • 56
0

Make sure that you are using the .xcworkspace file

Don't use .xcodeproj file even if it run the app successfully on your device. It wouldn't help you to make a general build.

for more details https://stackoverflow.com/a/28111728/348589

Shady Mohamed Sherif
  • 15,003
  • 4
  • 45
  • 54