#
# Be sure to run `pod lib lint tshare.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'fhare'
s.version = '3.0.14'
s.summary = '分享到第三方或者内部分享.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
TODO: Add long description of the pod here.
DESC
s.homepage = 'http://github.com/ios_phenix/tshare'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { '2342i' => '242342@qq.com' }
if ENV['git_base']
s.source = { :git => "#{ENV['git_base']}ios_ppppppix/#{s.name}.git", :tag => s.version.to_s }
puts s.source
else
s.source = { :git => "git@19.8.6.4:ios_lib/#{s.name}.git", :tag => s.version.to_s }
end
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '8.0'
s.resource = 'tshare/TNShareCardAndForumForIM/Resource/**/*.{plist,json}','tshare/**/*.xcassets','tshare/**/*.lproj'
if ENV['use_code'] or ENV[s.name+'_use_code']
s.source_files = 'tshare/**/*.{h,m}'
else
s.vendored_frameworks = 'Frameworks/tshare.framework'
end
if ENV['use_tag']
use_tag = ENV['use_tag']
else
use_tag = '> 0'
end
# s.resource_bundles = {
# 'tshare' => ['tshare/Assets/*.png']
# }
# s.public_header_files = 'Pod/Classes/**/*.h'
s.frameworks = 'UIKit', 'MessageUI','CoreGraphics','WebKit'
#s.dependency 'AFNetworking', '~> 2.3'
s.dependency 'Masonry'
s.dependency 'MJRefresh'
s.dependency 'SDWebImage'
s.pod_target_xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '${PODS_ROOT}/**'}
end

image.png
网友评论