Wednesday, March 6, 2024
HomeiOS Developmentswift - Error whereas putting in personal cocopods library in iOS app

swift – Error whereas putting in personal cocopods library in iOS app


My podspec as comply with,

Pod::Spec.new do |s|
  s.identify="demo"
  s.model          = '0.1.0'
  s.abstract          = 'A brief description of demo.'
  s.description      = 'It is a pob library'

  s.homepage="https://mygitrepo.git"
  s.license          = { :sort => 'MIT', :file => 'LICENSE' }
  s.writer           = { 'authorName' => '[email protected]' }
  s.supply           = { :git => 'https://mygitrepo.git', :department =>'dev/demo' , :tag => s.model.to_s }
  s.source_files="demo/Lessons/**/*.{h,m,swift}"
  s.vendored_frameworks="Instance/Pods/testFramework.framework"
finish

I created personal personal cocoapods dependency library : supply. I added few Goal-C lessons .h/.m and swift file. After that I push my code into git.

XCode construct phases as comply with,
enter image description here

I am getting .h file not .m or swift recordsdata.

I added this dependencies in my mission within the pod listing however i not getting .m and .swift recordsdata.
Pod construction in the principle mission as comply with,
enter image description here

.m file not discovered after putting in pod dependency.



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments