Skip to content

Commit

Permalink
创建jiaCordova.podspec文件
Browse files Browse the repository at this point in the history
  • Loading branch information
wujunyang committed May 22, 2017
1 parent f4b2f1f commit b2f323e
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions jiaCordova.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#
# Be sure to run `pod spec lint jiaCore.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
#
#

Pod::Spec.new do |s|

s.name = "JiaCordova"
s.version = "0.0.1"
s.summary = "在Cordova及插件的基础上封装一些常用的功能"

s.homepage = "https://github.com/wujunyang/JiaCordova"
s.license = { :type => "MIT", :file => "FILE_LICENSE" }
s.author = { "wujunyang" => "[email protected]" }

s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/wujunyang/JiaCordova.git", :tag => "#{s.version}" }
s.requires_arc = true


s.subspec 'JiaAFNetworking' do |JiaAFNetworking|
JiaAFNetworking.source_files = 'JiaCordova/JiaAFNetworking/**/*.{h,m}'
JiaAFNetworking.frameworks = 'MobileCoreServices', 'CoreGraphics', 'Security', 'SystemConfiguration'
end

s.subspec 'JiaNetwork' do |JiaNetwork|
JiaNetwork.source_files = 'JiaCordova/JiaNetwork/**/*.{h,m}'
JiaNetwork.dependency 'JiaAFNetworking'
JiaNetwork.framework = "CFNetwork"
end

s.subspec 'JiaCordovaConfig' do |JiaCordovaConfig|
JiaCordovaConfig.resources = "JiaCordova/JiaCordovaConfig/*"
end


# 系统库依赖
s.frameworks = 'UIKit'

# Cordova 依赖
s.dependency 'Cordova'
s.dependency 'CordovaPlugin-console'
s.dependency 'cordova-plugin-camera'
s.dependency 'cordova-plugin-contacts'
s.dependency 'cordova-plugin-device'
s.dependency 'cordova-plugin-device-orientation'
s.dependency 'cordova-plugin-device-motion'
s.dependency 'cordova-plugin-globalization'
s.dependency 'cordova-plugin-geolocation'
s.dependency 'cordova-plugin-file'
s.dependency 'cordova-plugin-media-capture'
s.dependency 'cordova-plugin-network-information'
s.dependency 'cordova-plugin-splashscreen'
s.dependency 'cordova-plugin-inappbrowser'
s.dependency 'cordova-plugin-file-transfer'
s.dependency 'cordova-plugin-statusbar'
s.dependency 'cordova-plugin-vibration'

# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
end

0 comments on commit b2f323e

Please sign in to comment.