diff --git a/Xendit.framework/Headers/Xendit-Swift.h b/Xendit.framework/Headers/Xendit-Swift.h index 5d64eff..c655fab 100644 --- a/Xendit.framework/Headers/Xendit-Swift.h +++ b/Xendit.framework/Headers/Xendit-Swift.h @@ -1,4 +1,4 @@ -// Generated by Apple Swift version 4.1 effective-3.3 (swiftlang-902.0.48 clang-902.0.37.1) +// Generated by Apple Swift version 4.2 effective-3.4 (swiftlang-1000.11.37.1 clang-1000.11.45.1) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wgcc-compat" @@ -129,17 +129,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #endif #if !defined(SWIFT_ENUM_ATTR) # if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open))) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) # else -# define SWIFT_ENUM_ATTR +# define SWIFT_ENUM_ATTR(_extensibility) # endif #endif #if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type # if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type # else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) # endif #endif #if !defined(SWIFT_UNAVAILABLE) @@ -163,8 +163,8 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) #endif #if __has_feature(modules) -@import ObjectiveC; @import Foundation; +@import ObjectiveC; #endif #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" diff --git a/Xendit.framework/Info.plist b/Xendit.framework/Info.plist index 6d24754..b5b9c9f 100644 Binary files a/Xendit.framework/Info.plist and b/Xendit.framework/Info.plist differ diff --git a/Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftdoc b/Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftdoc index f37c458..cb511b0 100644 Binary files a/Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftdoc and b/Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftdoc differ diff --git a/Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftmodule b/Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftmodule index 15833b7..8a7c6eb 100644 Binary files a/Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftmodule and b/Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftmodule differ diff --git a/Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftdoc b/Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftdoc index 6c7ffda..87d0e6d 100644 Binary files a/Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftdoc and b/Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftdoc differ diff --git a/Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftmodule b/Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftmodule index 9110631..7558ebb 100644 Binary files a/Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftmodule and b/Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftmodule differ diff --git a/Xendit.framework/Modules/Xendit.swiftmodule/i386.swiftdoc b/Xendit.framework/Modules/Xendit.swiftmodule/i386.swiftdoc index e4b5082..71d984b 100644 Binary files a/Xendit.framework/Modules/Xendit.swiftmodule/i386.swiftdoc and b/Xendit.framework/Modules/Xendit.swiftmodule/i386.swiftdoc differ diff --git a/Xendit.framework/Modules/Xendit.swiftmodule/i386.swiftmodule b/Xendit.framework/Modules/Xendit.swiftmodule/i386.swiftmodule index d74990c..4d18385 100644 Binary files a/Xendit.framework/Modules/Xendit.swiftmodule/i386.swiftmodule and b/Xendit.framework/Modules/Xendit.swiftmodule/i386.swiftmodule differ diff --git a/Xendit.framework/Modules/Xendit.swiftmodule/x86_64.swiftdoc b/Xendit.framework/Modules/Xendit.swiftmodule/x86_64.swiftdoc index 28a9ad4..e078b6f 100644 Binary files a/Xendit.framework/Modules/Xendit.swiftmodule/x86_64.swiftdoc and b/Xendit.framework/Modules/Xendit.swiftmodule/x86_64.swiftdoc differ diff --git a/Xendit.framework/Modules/Xendit.swiftmodule/x86_64.swiftmodule b/Xendit.framework/Modules/Xendit.swiftmodule/x86_64.swiftmodule index 48dd80f..bc02970 100644 Binary files a/Xendit.framework/Modules/Xendit.swiftmodule/x86_64.swiftmodule and b/Xendit.framework/Modules/Xendit.swiftmodule/x86_64.swiftmodule differ diff --git a/Xendit.framework/Xendit b/Xendit.framework/Xendit index db43ad1..56da7fa 100755 Binary files a/Xendit.framework/Xendit and b/Xendit.framework/Xendit differ diff --git a/Xendit.podspec b/Xendit.podspec index b01ab79..87f5e1a 100644 --- a/Xendit.podspec +++ b/Xendit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Xendit" - s.version = "1.2.1" + s.version = "1.2.2" s.summary = "Xendit makes it easy to collect credit card data securely without it having to touch your server" s.homepage = "https://www.xendit.co" s.license = "MIT" diff --git a/XenditExample/XenditExample.xcodeproj/project.pbxproj b/XenditExample/XenditExample.xcodeproj/project.pbxproj index c4d666b..79a0e2b 100644 --- a/XenditExample/XenditExample.xcodeproj/project.pbxproj +++ b/XenditExample/XenditExample.xcodeproj/project.pbxproj @@ -237,11 +237,12 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0830; - LastUpgradeCheck = 0900; + LastUpgradeCheck = 1000; ORGANIZATIONNAME = Xendit; TargetAttributes = { 944C41711E8E58A600142EE0 = { CreatedOnToolsVersion = 8.3; + DevelopmentTeam = 8GB447929N; ProvisioningStyle = Automatic; }; 9467EB3B1E8EA78A00AF2EE9 = { @@ -371,6 +372,7 @@ CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; @@ -378,6 +380,7 @@ CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; @@ -428,6 +431,7 @@ CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; @@ -435,6 +439,7 @@ CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; @@ -468,7 +473,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = ""; + DEVELOPMENT_TEAM = 8GB447929N; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/..", @@ -478,7 +483,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = co.xendit.XenditExample; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.2; }; name = Debug; }; @@ -486,7 +491,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = ""; + DEVELOPMENT_TEAM = 8GB447929N; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/..", @@ -496,7 +501,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = co.xendit.XenditExample; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.2; }; name = Release; }; diff --git a/XenditExample/XenditExample/AppDelegate.swift b/XenditExample/XenditExample/AppDelegate.swift index 8139625..dbe7896 100644 --- a/XenditExample/XenditExample/AppDelegate.swift +++ b/XenditExample/XenditExample/AppDelegate.swift @@ -14,7 +14,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. return true } diff --git a/XenditExample/XenditExample/Controllers/ViewController.swift b/XenditExample/XenditExample/Controllers/ViewController.swift index b8b6d7a..176a8fa 100644 --- a/XenditExample/XenditExample/Controllers/ViewController.swift +++ b/XenditExample/XenditExample/Controllers/ViewController.swift @@ -22,7 +22,7 @@ class ViewController: UIViewController { extension UIViewController { func showAlert(title: String, message: String) { - let alert = UIAlertController(title: title, message: message,preferredStyle: UIAlertControllerStyle.alert) + let alert = UIAlertController(title: title, message: message,preferredStyle: UIAlertController.Style.alert) let cancelAction = UIAlertAction(title: "OK", style: .cancel, handler: nil) alert.addAction(cancelAction) DispatchQueue.main.async {