From 2d58b207ddd8e0270bc855d824fae7e8008674a8 Mon Sep 17 00:00:00 2001 From: Yoichi Tagaya Date: Fri, 1 Jul 2016 20:37:47 +0900 Subject: [PATCH 1/2] Set version number for v1.0.0-beta.1. --- Sources/Info.plist | 2 +- Tests/Info.plist | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Info.plist b/Sources/Info.plist index 2203ab6..df472a7 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0 + 1.0.0 CFBundleSignature ???? CFBundleVersion diff --git a/Tests/Info.plist b/Tests/Info.plist index ba72822..a30f7d0 100644 --- a/Tests/Info.plist +++ b/Tests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 1.0 + 1.0.0 CFBundleSignature ???? CFBundleVersion From c881315d7f26c78c48cf003702fe1d27394bebec Mon Sep 17 00:00:00 2001 From: Yoichi Tagaya Date: Fri, 1 Jul 2016 20:41:31 +0900 Subject: [PATCH 2/2] Add a podspec. --- SwinjectStoryboard.podspec | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 SwinjectStoryboard.podspec diff --git a/SwinjectStoryboard.podspec b/SwinjectStoryboard.podspec new file mode 100644 index 0000000..4ce1dd9 --- /dev/null +++ b/SwinjectStoryboard.podspec @@ -0,0 +1,23 @@ +Pod::Spec.new do |s| + s.name = "SwinjectStoryboard" + s.version = "1.0.0-beta.1" + s.summary = "Swinject extension for automatic dependency injection via Storyboard" + s.description = <<-DESC + SwinjectStoryboard is an extension of Swinject to automatically inject dependency to view controllers instantiated by a storyboard. + DESC + s.homepage = "https://github.com/Swinject/SwinjectStoryboard" + s.license = 'MIT' + s.author = 'Swinject Contributors' + s.source = { :git => "https://github.com/Swinject/SwinjectStoryboard.git", :tag => s.version.to_s } + + core_files = 'Sources/*.swift' + umbrella_header_file = 'Sources/SwinjectStoryboard.h' # Must be at the end of 'source_files' to workaround CococaPods issue. + s.ios.source_files = core_files, 'Sources/iOS-tvOS/*.{swift,h,m}', umbrella_header_file + s.osx.source_files = core_files, 'Sources/OSX/*.{swift,h,m}', umbrella_header_file + s.tvos.source_files = core_files, 'Sources/iOS-tvOS/*.{swift,h,m}', umbrella_header_file + s.ios.deployment_target = '8.0' + s.osx.deployment_target = '10.10' + s.tvos.deployment_target = '9.0' + s.dependency 'Swinject', '2.0.0-beta.1' + s.requires_arc = true +end