-
Notifications
You must be signed in to change notification settings - Fork 89
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 #36 from iosdevzone/0.8.2
[CococaPods] Xcode 8, Swift 2.3
- Loading branch information
Showing
2 changed files
with
14 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.3 |
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Pod::Spec.new do |s| | ||
|
||
s.name = "IDZSwiftCommonCrypto" | ||
s.version = "0.8.1" | ||
s.version = "0.8.3" | ||
s.summary = "A wrapper for Apple's Common Crypto library written in Swift." | ||
|
||
s.homepage = "https://github.com/iosdevzone/IDZSwiftCommonCrypto" | ||
s.license = "MIT" | ||
s.author = { "iOSDevZone" => "[email protected]" } | ||
s.social_media_url = "http://twitter.com/iOSDevZone" | ||
|
||
s.osx.deployment_target = '10.10' | ||
s.ios.deployment_target = '8.0' | ||
s.osx.deployment_target = '10.11' | ||
s.ios.deployment_target = '9.3' | ||
s.tvos.deployment_target = '9.0' | ||
s.watchos.deployment_target = '2.0' | ||
|
||
|
@@ -24,13 +24,15 @@ Pod::Spec.new do |s| | |
echo 'Running prepare_command' | ||
pwd | ||
echo Running GenerateCommonCryptoModule | ||
swift ./GenerateCommonCryptoModule.swift macosx . | ||
swift ./GenerateCommonCryptoModule.swift iphonesimulator . | ||
swift ./GenerateCommonCryptoModule.swift iphoneos . | ||
swift ./GenerateCommonCryptoModule.swift appletvsimulator . | ||
swift ./GenerateCommonCryptoModule.swift appletvos . | ||
swift ./GenerateCommonCryptoModule.swift watchsimulator . | ||
swift ./GenerateCommonCryptoModule.swift watchos . | ||
TC="--toolchain com.apple.dt.toolchain.Swift_2_3" | ||
SWIFT="xcrun $TC swift" | ||
$SWIFT ./GenerateCommonCryptoModule.swift macosx . | ||
$SWIFT ./GenerateCommonCryptoModule.swift iphonesimulator . | ||
$SWIFT ./GenerateCommonCryptoModule.swift iphoneos . | ||
$SWIFT ./GenerateCommonCryptoModule.swift appletvsimulator . | ||
$SWIFT ./GenerateCommonCryptoModule.swift appletvos . | ||
$SWIFT ./GenerateCommonCryptoModule.swift watchsimulator . | ||
$SWIFT ./GenerateCommonCryptoModule.swift watchos . | ||
CMD | ||
|
||
|
@@ -41,6 +43,7 @@ CMD | |
|
||
# Make sure we can find the dummy frameworks | ||
s.xcconfig = { | ||
"SWIFT_VERSION" => "2.3", | ||
"SWIFT_INCLUDE_PATHS" => "${PODS_ROOT}/IDZSwiftCommonCrypto/Frameworks/$(PLATFORM_NAME)", | ||
"FRAMEWORK_SEARCH_PATHS" => "${PODS_ROOT}/IDZSwiftCommonCrypto/Frameworks/$(PLATFORM_NAME)" | ||
} | ||
|