Skip to content

KelaKing/cocoapods-xcframework

Repository files navigation

cocoapods-xcframework

Create XCFramework and install XCFramework.

Installation

Clone or download this repo.

$ gem build cocoapods-xcframework.gemspec
$ gem install cocoapods-xcframework-0.0.1.gem

Create XCFramework

make sure pod install first.

$ pod xcframework POD_NAME

Install XCFramework

We have a Podfile.

target 'Test' do
  use_frameworks!

  pod 'Kingfisher'
end

Pod will install sources by default. For use XCFramework:

  1. Create cocoapods-xcframework.json file in the same directory with Podfile.
{
  "Kingfisher": "https://github.com/onevcat/Kingfisher/releases/download/5.14.0/Kingfisher-5.14.0.zip"
}
  1. just pod install!

TODO

vendored_frameworks is **/#{spec.root.name}.xcframework.

zip is a xcframework will not work.

About

Create xcframework and install xcframework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages