-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from cats-oss/multi-platform
Support tvOS, watchOS and macOS
- Loading branch information
Showing
8 changed files
with
74 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,15 @@ | |
|
||
Pod::Spec.new do |s| | ||
s.name = "Unio" | ||
s.version = "0.6.0" | ||
s.version = "0.7.0" | ||
s.summary = "KeyPath based Unidirectionarl Input / Output framework with RxSwift." | ||
s.homepage = "https://github.com/cats-oss/Unio" | ||
s.license = { :type => "MIT", :file => "LICENSE" } | ||
s.author = { "Taiki Suzuki" => "[email protected]" } | ||
s.ios.deployment_target = "9.0" | ||
s.osx.deployment_target = '10.10' | ||
s.tvos.deployment_target = '10.0' | ||
s.watchos.deployment_target = '3.0' | ||
s.source = { :git => "https://github.com/cats-oss/Unio.git", :tag => "#{s.version}" } | ||
s.source_files = "Unio/**/*.{swift}" | ||
s.dependency 'RxSwift', '~> 5.0' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
TARGETED_DEVICE_FAMILY = 1,2,3,4 | ||
|
||
MACOSX_DEPLOYMENT_TARGET = 10.10 | ||
IPHONEOS_DEPLOYMENT_TARGET = 9.0 | ||
WATCHOS_DEPLOYMENT_TARGET = 3.0 | ||
TVOS_DEPLOYMENT_TARGET = 10.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator watchos watchsimulator appletvos appletvsimulator | ||
|
||
VALID_ARCHS[sdk=macosx*] = i386 x86_64 | ||
VALID_ARCHS[sdk=iphoneos*] = arm64 armv7 armv7s | ||
VALID_ARCHS[sdk=iphonesimulator*] = i386 x86_64 | ||
VALID_ARCHS[sdk=watchos*] = armv7k | ||
VALID_ARCHS[sdk=watchsimulator*] = i386 | ||
VALID_ARCHS[sdk=appletvos*] = arm64 | ||
VALID_ARCHS[sdk=appletvsimulator*] = x86_64 | ||
|
||
FRAMEWORK_SEARCH_PATHS[sdk=macosx*] = $(inherited) '$(PROJECT_DIR)/Carthage/Build/Mac' | ||
FRAMEWORK_SEARCH_PATHS[sdk=iphone*] = $(inherited) '$(PROJECT_DIR)/Carthage/Build/iOS' | ||
FRAMEWORK_SEARCH_PATHS[sdk=watch*] = $(inherited) '$(PROJECT_DIR)/Carthage/Build/watchOS' | ||
FRAMEWORK_SEARCH_PATHS[sdk=appletv*] = $(inherited) '$(PROJECT_DIR)/Carthage/Build/tvOS' | ||
|
||
LD_RUNPATH_SEARCH_PATHS[sdk=macosx*] = $(inherited) '@executable_path/../Frameworks' '@loader_path/../Frameworks' | ||
LD_RUNPATH_SEARCH_PATHS[sdk=iphone*] = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' | ||
LD_RUNPATH_SEARCH_PATHS[sdk=watch*] = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' | ||
LD_RUNPATH_SEARCH_PATHS[sdk=appletv*] = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' |