Podspec Link Binary Library

前端 未结 2 806
忘了有多久
忘了有多久 2021-02-05 17:36

I\'m attempting to create a Podspec for: https://github.com/sincerely/shiplib-ios-framework

Pod Lint passes & the files are being added to the project but it does no

相关标签:
2条回答
  • 2021-02-05 18:13

    Headers will not be copied for frameworks, and should not be specified as source files. If all you are looking to do is add the framework as a vendored_framework. This is new in CP 0.23.0.

    From the Documentation

      spec.ios.vendored_frameworks = 'Frameworks/MyFramework.framework'
    

    Edit:
    Remove all the stuff about the .framework from s.source_files. Source files are just that, files, not frameworks.

    0 讨论(0)
  • 2021-02-05 18:35

    I guess your project maybe lack Sincerely library in Sincerely.framework. And if you are using sourcetree to manage project, it is the sourcetree's bug that cause the problem. Sourcetree does not detect the Sincerely library.

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