Xcode - ld: library not found for -lPods

后端 未结 22 1489
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-28 18:27

I get these errors when I try to build an iOS application.

ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to s         


        
22条回答
  •  Happy的楠姐
    2020-11-28 18:52

    If anyone came here to resolve an error with react-native-fbsdk after installing it using Cocoapods, keep in mind that you have to remove all the other .a files in your Projects build phases and only keep the .a from cocoapods called libPods-WhateverAppName.a.

    This is usually caused from running rnpm link and the way rnpm works.

    After I removed the facebook core .a file from my build phases my project was up and running once again.

提交回复
热议问题