Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Commit

Permalink
REM-25128 Prepare for publishing to CocoaPods (#10)
Browse files Browse the repository at this point in the history
- use a "-github" suffix on the version tag to differentiate with the internal repo's tags
- update pod installation instructions
  • Loading branch information
donnie-jp committed Dec 4, 2017
1 parent e25088d commit 8f0cf92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ The **Performance Tracking** module is a tool that lets you measure the performa

### Installing as CocoaPods pod

At this time the module is not published as a public CocoaPods pod so you will need to clone the repository locally.

To use the module your `Podfile` should contain:

source 'https://github.com/CocoaPods/Specs.git'

pod 'RPerformanceTracking', :path => '/path-to-performance-tracking-podspec'
pod 'RPerformanceTracking'

Run `pod install` to install the module and its dependencies.

Expand Down
6 changes: 3 additions & 3 deletions RPerformanceTracking.podspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
Pod::Spec.new do |s|
s.name = "RPerformanceTracking"
s.version = "0.1.1"
s.version = "1.0.0"
s.authors = "Rakuten Ecosystem Mobile"
s.summary = "Automatic performance tracking for all your applications."
s.homepage = "https://github.com/rakutentech/"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.source = { :git => "https://github.com/rakutentech/ios-perftracking.git", :tag => s.version.to_s }
s.source = { :git => "https://github.com/rakutentech/ios-perftracking.git", :tag => s.version.to_s+'-github' }
s.platform = :ios, '8.0'
s.requires_arc = true
s.documentation_url = "https://github.com/rakutentech/ios-perftracking"
s.pod_target_xcconfig = {
'CLANG_ENABLE_MODULES' => 'YES',
'CLANG_MODULES_AUTOLINK' => 'YES',
Expand All @@ -24,7 +25,6 @@ Pod::Spec.new do |s|
]
s.source_files = "RPerformanceTracking/**/*.{h,m}"
s.private_header_files = "RPerformanceTracking/Private/**/*.h"
# s.resource_bundles = {'RPerformanceTrackingAssets' => ['RPerformanceTracking/Assets/*']}
s.module_map = 'RPerformanceTracking/RPerformanceTracking.modulemap'
end
# vim:syntax=ruby:et:sts=2:sw=2:ts=2:ff=unix:

0 comments on commit 8f0cf92

Please sign in to comment.