-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |