Skip to content

Commit

Permalink
Merge pull request #96 from kdawgwilk/add-cocoapods-support
Browse files Browse the repository at this point in the history
Add CocoaPods support
  • Loading branch information
StevePotter committed Sep 25, 2018
2 parents 0c2635f + dbb9635 commit 0ed6c4e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ios/VydiaRNFileUploader.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@
"$(SRCROOT)/../node_modules/react-native/React/**",
"$(SRCROOT)/../../react-native/React/**",
"$(SRCROOT)/../Example/node_modules/react-native/React/**",
"$(SRCROOT)/../../../ios/Pods/Headers/Public/**",
);
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -218,6 +219,7 @@
"$(SRCROOT)/../node_modules/react-native/React/**",
"$(SRCROOT)/../../react-native/React/**",
"$(SRCROOT)/../Example/node_modules/react-native/React/**",
"$(SRCROOT)/../../../ios/Pods/Headers/Public/**",
);
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
18 changes: 18 additions & 0 deletions react-native-background-upload.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
require "json"

json = File.read(File.join(__dir__, "package.json"))
package = JSON.parse(json).deep_symbolize_keys

Pod::Spec.new do |s|
s.name = package[:name]
s.version = package[:version]
s.license = { type: "MIT" }
s.homepage = "https://github.com/Vydia/react-native-background-upload"
s.authors = package[:author]
s.summary = package[:description]
s.source = { git: package[:repository][:url] }
s.source_files = "ios/*.{h,m}"
s.platform = :ios, "8.0"

s.dependency "React"
end

0 comments on commit 0ed6c4e

Please sign in to comment.