library not found for…?

前端 未结 11 1490
我寻月下人不归
我寻月下人不归 2021-02-04 00:40

i added new framework(3rd party) and build.

Unfortunately, since the execution was not.

How do I solve this problem? The whole four nights were spent.:(

相关标签:
11条回答
  • 2021-02-04 01:07

    I changed -all_load to -force_load

    0 讨论(0)
  • 2021-02-04 01:14

    my case: use cocoapods, open xcworkspace, and meet "library not found for -lPods-AFNetworking" error.

    my solution: Preference -> Location -> Derived Data, click "Advanced" button -> choose 'shared Folder'. (when meet error, the original location is Legacy).

    0 讨论(0)
  • 2021-02-04 01:14

    None of the above solutions worked for me, so I downloaded the missing library:

    https://github.com/danielctull-forks/GoogleAnalytics-SDK-iOS

    0 讨论(0)
  • 2021-02-04 01:15

    7.3.1 Pods 1.0.0

    Had same stuff today, after cocoapods update from 0.39.0 to 1.0.0.

    Had an error : "ld: library not found -lPods".

    I've got linked two "Pod" libs, accidentally. One was lPods, and other was lPods-ProjectName. I deleted "libPods.a: from Project>General>Linked Frameworks and Libraries

    AND! I changed Pods>Build Active Build Architecture to NO, of course.

    And it worked.

    0 讨论(0)
  • 2021-02-04 01:17

    OS X 10.11 Xcode7.0.1

    my case:

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

    I delete all pod related content, add "$(inherited)" then fix it.

    Other Linker Flags image

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