Skip to content

Commit

Permalink
Merge pull request #36 from iosdevzone/0.8.2
Browse files Browse the repository at this point in the history
[CococaPods] Xcode 8, Swift 2.3
  • Loading branch information
iosdevzone authored Sep 25, 2016
2 parents 1dd130d + bed735a commit c8e3c5a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.3
23 changes: 13 additions & 10 deletions IDZSwiftCommonCrypto.podspec
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'

Expand All @@ -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

Expand All @@ -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)"
}
Expand Down

0 comments on commit c8e3c5a

Please sign in to comment.