Skip to content

Commit

Permalink
Merge pull request #48 from alickbass/cocoapods-support
Browse files Browse the repository at this point in the history
Cocoapods support
  • Loading branch information
Oleksii Dykan authored Dec 29, 2017
2 parents 78a0a05 + 3a12192 commit be99e6b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
language: objective-c
osx_image: xcode9
osx_image: xcode9.2

env:
- ACTION=test PLATFORM=Mac DESTINATION='platform=OS X'
- ACTION=test PLATFORM=iOS DESTINATION='platform=iOS Simulator,name=iPhone 8'
- ACTION=build PLATFORM=watchOS DESTINATION='platform=watchOS Simulator,name=Apple Watch - 38mm'
- ACTION=test PLATFORM=tvOS DESTINATION='platform=tvOS Simulator,name=Apple TV 1080p'
- ACTION=test PLATFORM=tvOS DESTINATION='platform=tvOS Simulator,name=Apple TV'

script:
- xcodebuild clean $ACTION -project SweetRouter.xcodeproj -scheme SweetRouter -destination "$DESTINATION"
Expand Down
19 changes: 19 additions & 0 deletions SweetRouter.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Pod::Spec.new do |s|
s.name = "SweetRouter"
s.version = "1.0.0"
s.summary = "Declarative URL routing in swift for Alamofire and not only :)"
s.homepage = "https://github.com/alickbass/SweetRouter"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Oleksii Dykan" => "[email protected]" }

s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.11"
s.watchos.deployment_target = "2.0"
s.tvos.deployment_target = "9.0"
s.requires_arc = true

s.source = { :git => "https://github.com/alickbass/SweetRouter.git", :tag => s.version, :branch => 'master'}
s.source_files = "SweetRouter/*.swift"
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4' }

end
2 changes: 1 addition & 1 deletion SweetRouter/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.6.0</string>
<string>1.0.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down

0 comments on commit be99e6b

Please sign in to comment.