Skip to content

Commit

Permalink
Merge pull request #18 from xendit/feature/swift-5.1
Browse files Browse the repository at this point in the history
compile new lib using swift 5.1
  • Loading branch information
hakiemaul authored Oct 2, 2019
2 parents 033b067 + fc77003 commit 106f57f
Show file tree
Hide file tree
Showing 22 changed files with 33 additions and 3 deletions.
34 changes: 32 additions & 2 deletions Xendit.framework/Headers/Xendit-Swift.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.0.1 (swiftlang-1001.0.82.4 clang-1001.0.46.5)
// Generated by Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"

Expand Down Expand Up @@ -112,6 +112,15 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# endif
#endif
#if !defined(SWIFT_RESILIENT_CLASS)
# if __has_attribute(objc_class_stub)
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
# else
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
# endif
#endif

#if !defined(SWIFT_PROTOCOL)
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
Expand Down Expand Up @@ -153,6 +162,9 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(SWIFT_AVAILABILITY)
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
#endif
#if !defined(SWIFT_WEAK_IMPORT)
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
#endif
#if !defined(SWIFT_DEPRECATED)
# define SWIFT_DEPRECATED __attribute__((deprecated))
#endif
Expand All @@ -164,6 +176,9 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#else
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
#endif
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
Expand Down Expand Up @@ -297,7 +312,7 @@ typedef SWIFT_ENUM_NAMED(NSUInteger, XENLogLevel, "XenditLogLevel", closed) {
#pragma clang diagnostic pop

#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__
// Generated by Apple Swift version 5.0.1 (swiftlang-1001.0.82.4 clang-1001.0.46.5)
// Generated by Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"

Expand Down Expand Up @@ -409,6 +424,15 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# endif
#endif
#if !defined(SWIFT_RESILIENT_CLASS)
# if __has_attribute(objc_class_stub)
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
# else
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
# endif
#endif

#if !defined(SWIFT_PROTOCOL)
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
Expand Down Expand Up @@ -450,6 +474,9 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(SWIFT_AVAILABILITY)
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
#endif
#if !defined(SWIFT_WEAK_IMPORT)
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
#endif
#if !defined(SWIFT_DEPRECATED)
# define SWIFT_DEPRECATED __attribute__((deprecated))
#endif
Expand All @@ -461,6 +488,9 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#else
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
#endif
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
Expand Down
Binary file modified Xendit.framework/Info.plist
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftdoc
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftmodule
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftdoc
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftmodule
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/armv7.swiftdoc
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/armv7.swiftmodule
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/i386.swiftdoc
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/i386.swiftmodule
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/x86_64.swiftdoc
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/x86_64.swiftmodule
Binary file not shown.
Binary file modified Xendit.framework/Xendit
Binary file not shown.
2 changes: 1 addition & 1 deletion Xendit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Xendit"
s.version = "2.0.7"
s.version = "2.0.8"
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"
Expand Down

0 comments on commit 106f57f

Please sign in to comment.