ios - After creating own cocoapods library, when pod install my pod, There is only ReplaceMe.m file -
i created own cocoapods library , push it. when run pod install
app, there replaceme.m
file. have changed file own classes. , can see files on github.
platform :'ios', '8.0' pod 'mypod'
however, if add git url podfile, library classes exist.
platform :'ios', '8.0' pod 'mypod', :git => 'https://github.com/ugurcetinkaya/mypod.git'
what should solve this?
my .podspec file:
pod::spec.new |s| s.name = 'uurccentralizedtokenview' s.version = '0.1.0' s.summary = 'customizable centralized tokenview' s.description = 'customizable centralized tokenview ios applications.' s.homepage = 'https://github.com/ugurcetinkaya/uurccentralizedtokenview' # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' s.license = { :type => 'mit', :file => 'license' } s.author = { 'ugur cetinkaya' => 'ugurcetinkaya@ymail.com' } s.source = { :git => 'https://github.com/ugurcetinkaya/uurccentralizedtokenview.git', :tag => s.version.to_s } s.ios.deployment_target = '8.0' s.source_files = 'uurccentralizedtokenview/classes/**/*' s.frameworks = 'uikit'
i solved problem. git version of library didn't have library classes on current release. added classes repo. after updated version of repo , pod adding new tag repo. cocoapods version looking @ version of repo.
Comments
Post a Comment