Skip to content

Commit e0dfbf3

Browse files
author
Bret Cheng
committed
Add podspec
1 parent c6247ba commit e0dfbf3

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

OneSkyOTAPlugin.podspec

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#
2+
# Be sure to run `pod lib lint OneSkyOTAPlugin.podspec' to ensure this is a
3+
# valid spec and remove all comments before submitting the spec.
4+
#
5+
# Any lines starting with a # are optional, but encouraged
6+
#
7+
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
8+
#
9+
10+
Pod::Spec.new do |s|
11+
s.name = "OneSkyOTAPlugin"
12+
s.version = "0.9.2"
13+
s.summary = "OneSkyOTAPlugin enables over-the-air translation update for your iOS Apps"
14+
s.homepage = "https://github.com/onesky/plugin-ios-ota"
15+
s.license = { :type => "Commercial", :text => "Copyright © 2015 OneSky Inc. All rights reserved. http://www.oneskyapp.com" }
16+
s.author = { "Bret Cheng" => "bret@oneskyapp.com" }
17+
s.source = { :git => "https://github.com/onesky/plugin-ios-ota.git", :tag => s.version.to_s }
18+
s.social_media_url = 'https://twitter.com/oneskyapp'
19+
s.documentation_url = 'https://github.com/onesky/plugin-ios-ota'
20+
21+
s.platform = :ios, '6.0'
22+
s.requires_arc = true
23+
24+
s.source_files = 'OneSkyOTAPlugin/**/*.h'
25+
s.vendored_library = 'OneSkyOTAPlugin/libOneSkyOTAPlugin.a'
26+
s.library = 'OneSkyOTAPlugin'
27+
s.preserve_paths = ['OneSkyOTAPlugin/ibsupport']
28+
s.frameworks = 'UIKit'
29+
30+
s.xcconfig = {
31+
'LIBRARY_SEARCH_PATHS' => '"$(PODS_ROOT)/OneSkyOTAPlugin"',
32+
'OTHER_LDFLAGS' => '-ObjC',
33+
}
34+
end

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ Over-the-air translation update for your iOS apps with OneSky.
66
Installation
77
------------
88

9-
1. Download [`OneSkyOTAPlugin.zip`](https://github.com/onesky/plugin-ios-ota/releases/download/0.9.1/OneSkyOTAPlugin.zip) from the release tab and drag the folder into the **Frameworks** section of your **Project Navigator**.
9+
#### Download OneSkyOTAPlugin.framework
10+
1. [`OneSkyOTAPlugin.zip`](https://github.com/onesky/plugin-ios-ota/releases/download/0.9.2/OneSkyOTAPlugin.zip) from the release tab and drag the folder into the **Frameworks** section of your **Project Navigator**.
1011
2. Under **Build Settings** of the target, add ```-ObjC``` to **Other Linker Flags** setting.
1112

13+
#### CocoaPods
14+
```
15+
pod 'OneSkyOTAPlugin', '~> 0.9.2'
16+
```
17+
1218
Integration
1319
-----------
1420

@@ -72,10 +78,16 @@ Interface Builder Support
7278

7379
The plugin also supports OTA translation for **Interface Builder** files (`.xib` and `.storyboard`), translations will be set at ```-[UIView awakeFromNib]``` automatically. To enable **Interface Builder** support, add a `Run Script Build Phase` to your app target in `Project Editor`, copy and paste the following script into the script area:
7480

81+
#### OneSkyOTAPlugin.framework
7582
```
7683
./OneSkyOTAPlugin.framework/ibsupport
7784
```
7885

86+
#### CocoaPods
87+
```
88+
./Pods/OneSkyOTAPlugin/OneSkyOTAPlugin/ibsupport
89+
```
90+
7991
Support
8092
-------
8193
http://support.oneskyapp.com/

0 commit comments

Comments
 (0)