pods issue, linker command failed with exit code 1

前端 未结 15 1303
生来不讨喜
生来不讨喜 2020-12-25 13:35

when I run my project, I get errors like this: \"enter

It seems that all frameworks in

相关标签:
15条回答
  • 2020-12-25 13:44

    Try to deleting Podfile.lock file and Pods folder. Then try to pods install.

    0 讨论(0)
  • I spent 2 days to find the real culprit. It turns out that I tried to run the "Project" instead of running the "Workspace". How this will help others!

    0 讨论(0)
  • 2020-12-25 13:48

    First, you need to check your Xcode version and than check pod version which you installed. If your Xcode version under 9.0 then you should reinstall pod with but old version not latest. It will work.

    0 讨论(0)
  • 2020-12-25 13:51

    I faced similar problem in my project. After hours of searching I found that in GENERAL settings of the project in section "Linked Frameworks and Libraries" there are two files for pods: "libPods.a" and "Pods_ProjectName.framework"

    Deleting "libPods.a" helped in my case.

    0 讨论(0)
  • 2020-12-25 13:51

    This happened to my project because I used Admob in my Unity project and then build it for iOS. I did not note that Unity-iPhone.xcworkspace is created to open instead of Unity-iPhone.xcodeproj. I was keep opening Unity-iPhone.xcodeproj and it was giving the error. Opening the project with Unity-iPhone.xcworkspace fixed the problem for me.

    0 讨论(0)
  • 2020-12-25 13:54

    I changed Deployment target from 10.0 to 11.0, and this work !

    0 讨论(0)
提交回复
热议问题