File tree Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change
1
+ require 'json'
2
+
3
+ package = JSON . parse ( File . read ( File . join ( __dir__ , 'package.json' ) ) )
4
+
5
+ Pod ::Spec . new do |s |
6
+ s . name = "ReactNativeUiLib"
7
+ s . version = package [ 'version' ]
8
+ s . summary = "React Native UI Library"
9
+
10
+ s . authors = "Wix.com"
11
+ s . homepage = package [ 'homepage' ]
12
+ s . license = package [ 'license' ]
13
+ s . platforms = { :ios => "9.0" , :tvos => "9.2" }
14
+
15
+ s . module_name = 'ReactNativeUiLib'
16
+
17
+ s . source = { :git => "https://github.com/wix/react-native-ui-lib.git" , :tag => "#{ s . version } " }
18
+ s . source_files = "ios/**/*.{h,m}"
19
+
20
+ s . dependency 'React'
21
+ s . frameworks = 'UIKit'
22
+ end
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
dependency : {
3
3
platforms : {
4
- ios : {
5
- podspecPath : './lib/ReactNativeUiLib.podspec'
6
- } ,
4
+ /* TODO: Once we upgrade to RN69 we should try using podspecPath again, for now I copied ReactNativeUiLib.podspec file to the root - it seems to work
5
+ I copied it, because we need it for both the main uilib and the uilib-native package */
6
+ // ios: {
7
+ // podspecPath: './lib/ReactNativeUiLib.podspec'
8
+ // },
7
9
android : {
8
10
sourceDir : './lib/android/' ,
9
11
packageImportPath : `import com.wix.reactnativeuilib.highlighterview.HighlighterViewPackage;
You can’t perform that action at this time.
0 commit comments