Skip to content

Commit 62c61ef

Browse files
committed
[CocoaPods] Remove prepare_command; it's not longer needed.
1 parent 473bc76 commit 62c61ef

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

IDZSwiftCommonCrypto.podspec

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "IDZSwiftCommonCrypto"
4-
s.version = "0.11.0"
4+
s.version = "0.11.1"
55
s.summary = "A wrapper for Apple's Common Crypto library written in Swift."
66

77
s.homepage = "https://github.com/iosdevzone/IDZSwiftCommonCrypto"
@@ -16,29 +16,6 @@ Pod::Spec.new do |s|
1616

1717
s.source = { :git => "https://github.com/iosdevzone/IDZSwiftCommonCrypto.git", :tag => s.version.to_s }
1818

19-
#
20-
# Create the dummy CommonCrypto.framework structures
21-
#
22-
s.prepare_command = <<-CMD
23-
touch prepare_command.txt
24-
echo 'Running prepare_command'
25-
pwd
26-
echo Running GenerateCommonCryptoModule
27-
# This was needed to ensure the correct Swift interpreter was
28-
# used in Xcode 8. Leaving it here, commented out, in case similar
29-
# issues occur when migrating to Swift 4.0.
30-
#TC="--toolchain com.apple.dt.toolchain.Swift_2_3"
31-
SWIFT="xcrun $TC swift"
32-
$SWIFT ./GenerateCommonCryptoModule.swift macosx .
33-
$SWIFT ./GenerateCommonCryptoModule.swift iphonesimulator .
34-
$SWIFT ./GenerateCommonCryptoModule.swift iphoneos .
35-
$SWIFT ./GenerateCommonCryptoModule.swift appletvsimulator .
36-
$SWIFT ./GenerateCommonCryptoModule.swift appletvos .
37-
$SWIFT ./GenerateCommonCryptoModule.swift watchsimulator .
38-
$SWIFT ./GenerateCommonCryptoModule.swift watchos .
39-
40-
CMD
41-
4219
s.source_files = "IDZSwiftCommonCrypto"
4320

4421
# Stop CocoaPods from deleting dummy frameworks

0 commit comments

Comments
 (0)