Skip to content

Commit 8220a39

Browse files
committed
Update to Swift 5.0
1 parent d8c9278 commit 8220a39

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0
1+
5.0

IDZSwiftCommonCrypto.podspec

Lines changed: 4 additions & 8 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.1"
4+
s.version = "0.12.0"
55
s.summary = "A wrapper for Apple's Common Crypto library written in Swift."
66

77
s.homepage = "https://github.com/iosdevzone/IDZSwiftCommonCrypto"
@@ -18,15 +18,11 @@ Pod::Spec.new do |s|
1818

1919
s.source_files = "IDZSwiftCommonCrypto"
2020

21-
# Stop CocoaPods from deleting dummy frameworks
22-
s.preserve_paths = "Frameworks"
21+
# New way to specify Swift version
22+
s.swift_version = '5.0'
2323

24-
# Make sure we can find the dummy frameworks
2524
s.pod_target_xcconfig = {
26-
"SWIFT_VERSION" => "4.2",
27-
"SWIFT_INCLUDE_PATHS" => "${PODS_ROOT}/IDZSwiftCommonCrypto/Frameworks/$(PLATFORM_NAME)",
28-
"FRAMEWORK_SEARCH_PATHS" => "${PODS_ROOT}/IDZSwiftCommonCrypto/Frameworks/$(PLATFORM_NAME)",
29-
"APPLICATION_EXTENSION_API_ONLY" => "YES"
25+
"APPLICATION_EXTENSION_API_ONLY" => "YES"
3026
}
3127

3228
end

IDZSwiftCommonCrypto.xcodeproj/project.pbxproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,10 +574,9 @@
574574
};
575575
buildConfigurationList = 0CCB89A519CE05F800068ED6 /* Build configuration list for PBXProject "IDZSwiftCommonCrypto" */;
576576
compatibilityVersion = "Xcode 3.2";
577-
developmentRegion = English;
577+
developmentRegion = en;
578578
hasScannedForEncodings = 0;
579579
knownRegions = (
580-
English,
581580
en,
582581
Base,
583582
);
@@ -865,6 +864,8 @@
865864
buildSettings = {
866865
ALWAYS_SEARCH_USER_PATHS = NO;
867866
APPLICATION_EXTENSION_API_ONLY = YES;
867+
CLANG_ANALYZER_LOCALIZABILITY_EMPTY_CONTEXT = NO;
868+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = NO;
868869
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
869870
CLANG_CXX_LIBRARY = "libc++";
870871
CLANG_ENABLE_MODULES = YES;
@@ -927,6 +928,8 @@
927928
buildSettings = {
928929
ALWAYS_SEARCH_USER_PATHS = NO;
929930
APPLICATION_EXTENSION_API_ONLY = YES;
931+
CLANG_ANALYZER_LOCALIZABILITY_EMPTY_CONTEXT = NO;
932+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = NO;
930933
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
931934
CLANG_CXX_LIBRARY = "libc++";
932935
CLANG_ENABLE_CODE_COVERAGE = NO;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)