Skip to content

Commit d2e83f1

Browse files
committed
add pod
1 parent d1877ad commit d2e83f1

File tree

3 files changed

+69
-0
lines changed

3 files changed

+69
-0
lines changed

NetDiagTests/Info.plist

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>BNDL</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>1</string>
23+
</dict>
24+
</plist>

Podfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source 'https://github.com/CocoaPods/Specs.git'
2+
3+
target "NetDiagTests" do
4+
pod 'AGAsyncTestHelper/Shorthand'
5+
end
6+

QNNetDiag.podspec

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'QNNetDiag'
3+
s.version = '0.0.1'
4+
s.summary = 'Qiniu Net Diagnostic library'
5+
s.homepage = 'https://github.com/qiniu/iOS-netdiag'
6+
s.social_media_url = 'http://weibo.com/qiniutek'
7+
s.author = 'Qiniu => [email protected]'
8+
s.source = {:git => 'https://github.com/qiniu/iOS-netdiag.git', :tag => "v#{s.version}"}
9+
10+
s.ios.deployment_target = '7.0'
11+
s.libraries = 'resolv'
12+
s.source_files = 'NetDiag/**/*.{h,m}'
13+
s.requires_arc = true
14+
s.license = { :type => 'MIT', :text => <<-LICENSE
15+
The MIT License (MIT)
16+
17+
Copyright (c) 2012-2016 qiniu.com
18+
19+
Permission is hereby granted, free of charge, to any person obtaining a copy
20+
of this software and associated documentation files (the "Software"), to deal
21+
in the Software without restriction, including without limitation the rights
22+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
23+
copies of the Software, and to permit persons to whom the Software is
24+
furnished to do so, subject to the following conditions:
25+
26+
The above copyright notice and this permission notice shall be included in
27+
all copies or substantial portions of the Software.
28+
29+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
35+
THE SOFTWARE.
36+
LICENSE
37+
}
38+
39+
end

0 commit comments

Comments
 (0)