Fix podspec

This commit is contained in:
Simon 2018-12-13 00:40:25 +08:00
parent 658146f529
commit a39a354812
2 changed files with 3 additions and 4 deletions

View File

@ -10,9 +10,10 @@ Pod::Spec.new do |s|
"Simon Lee" => "dev.simonlee@gmail.com"
}
s.source = { :git => "https://github.com/simonlee2/PlaceholderKit.git", :tag => "0.0.1" }
s.source = { :git => "https://github.com/simonlee2/PlaceholderKit.git", :tag => s.version.to_s }
s.source_files = "Sources"
s.exclude_files = "Sources/**/*.plist"
s.platforms = { :ios => "8.0", :osx => "10.11", :tvos => "9.0", :watchos => "3.0" }
s.platforms = { :ios => "8.0", :osx => "10.11"}
s.swift_version = "4.2"
end

View File

@ -311,7 +311,6 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
@ -370,7 +369,6 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;