Saturday, August 3, 2024
HomeiOS Developmentios - sizzling to repeat sources in cocoapods from zip file

ios – sizzling to repeat sources in cocoapods from zip file


I’ve the following construction of my podspec file

Pod::Spec.new do |spec|
  spec.title="framework"
  spec.model = '0.0.1'
  spec.homepage="https://google.com"
  spec.supply = { :http => 'https://gitlab.wnb:28443/api/v4/tasks/some_zip.zip' }
  spec.authors="My Comp"
  spec.license="My Comp Industrial"
  spec.abstract = 'Api'
  spec.static_framework = true
  spec.vendored_frameworks = "framework.xcframework"
  spec.ios.deployment_target="15.0"
finish

spec.supply factors to zip file hosted on gitlab

some_zip.zip file incorporates inside 2 folders:
some_resources – folder with sources for framework
framework.xcframework – framework by itself

after pod set up solely framework was copied to mission’s pod folder
Methods to copy some_resources as effectively?
I attempted so as to add spec.sources = [‘some_resources’] however as a substitute bought and empty folder in mission

If I am utilizing native pods and have the identical construction with podspec positioned in folder containing spec.supply = { :path => ‘./’} everyting works as anticipated



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments