Podspec Link Binary Library

前端 未结 2 809
忘了有多久
忘了有多久 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.

提交回复
热议问题