1
我創建了自己的cocoapods庫並將其推送。但是,當我運行一個應用程序pod install
,只有ReplaceMe.m
文件。但我已經用自己的類改變了這個文件。而且我還可以在github上看到文件。創建自己的cocoapods庫後,當pod安裝我的pod時,只有ReplaceMe.m文件
platform :'ios', '8.0'
pod 'MyPod'
但是,如果我將git url添加到Podfile,庫類存在。
platform :'ios', '8.0'
pod 'MyPod', :git => 'https://github.com/ugurcetinkaya/MyPod.git'
我該怎麼做才能解決這個問題?
我.podspec文件:
Pod::Spec.new do |s|
s.name = 'UURCCentralizedTokenView'
s.version = '0.1.0'
s.summary = 'Customizable Centralized TokenView'
s.description = 'Customizable Centralized TokenView for 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' => '[email protected]' }
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'
發佈您的pod規範文件! – rckoenes
我加入了我的問題 – ugur