Skip to content

Commit

Permalink
Release 4.4.0
Browse files Browse the repository at this point in the history
* [REMOVED] Minimum deployment target is now iOS 14 (was iOS 12)
* [FIXED] A crash when using AirPrint on devices running iOS 17
* [FIXED] A crash when using UIDatePicker on devices running iOS 17
* [IMPROVEMENT] Miscellaneous bug fixes and enhancements
  • Loading branch information
jadeburton-sumup committed Nov 10, 2023
1 parent 838e034 commit d1874a3
Show file tree
Hide file tree
Showing 109 changed files with 40 additions and 38 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# SumUp iOS SDK Changelog

## Version 4.4.0
* [REMOVED] Minimum deployment target is now iOS 14 (was iOS 12)
* [FIXED] A crash when using AirPrint on devices running iOS 17
* [FIXED] A crash when using UIDatePicker on devices running iOS 17
* [IMPROVEMENT] Miscellaneous bug fixes and enhancements

## Version 4.3.4

* [BUGFIX] Tip on Card Reader feature: bug fixes and stability improvements
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "SumUpSDK",
platforms: [
.iOS(.v10)
.iOS(.v14)
],
products: [
.library(
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Platform](https://img.shields.io/badge/Platform-iOS-lightgrey.svg?style=flat-square)](#prerequisites)
[![Created](https://img.shields.io/badge/Made%20by-SumUp-blue.svg?style=flat-square)](https://sumup.com)
[![Supports](https://img.shields.io/badge/Requires-iOS%2010+-red.svg?style=flat-square)]()
[![Version](https://img.shields.io/badge/Version-4.3.4-yellowgreen.svg?style=flat-square)](CHANGELOG.md)
[![Version](https://img.shields.io/badge/Version-4.4.0-yellowgreen.svg?style=flat-square)](CHANGELOG.md)
[![License](https://img.shields.io/badge/License-SumUp-brightgreen.svg?style=flat-square)](LICENSE)
[![CocoaPods](https://img.shields.io/cocoapods/v/SumUpSDK.svg?style=flat-square)]()
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
Expand All @@ -28,15 +28,14 @@ For more information, please refer to
1. Registered for a merchant account via SumUp's [country websites](https://sumup.com/) (or received a test account).
2. Received SumUp card terminal: Solo, Air, Air Lite, PIN+ terminal, Chip & Signature reader, or SumUp Air Register.
3. Requested an Affiliate (Access) Key via [SumUp Dashboard](https://me.sumup.com/developers) for Developers.
4. Deployment Target iOS 12.0 or later.
5. Recommended to use on Xcode 13 and iOS SDK 15 or later.
4. Deployment Target iOS 14.0 or later.
5. Recommended to use on Xcode 14.2 and iOS SDK 15 or later.
6. iPhone, iPad or iPod touch.

:warning: **Important:** Upcoming versions of the SDK will no longer support iOS 12 and iOS 13. Please make sure to update your app's deployment target to iOS 14 or later.

### Compatibility

* Starting with firmware version 1.0.1.84, Air card readers with serial numbers starting with 108, 109 or later require iOS SDK 4.3.0 and later. Please update to the latest iOS SDK version if you need to support these readers.
* From version 4.4.0 of the SDK, iOS 14 or later is required

### Tipping

Expand Down
12 changes: 4 additions & 8 deletions SampleApp/SumUpSDKSampleApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
1B584F481DE6146000642029 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = "SumUpSDKSampleApp/en.lproj/Main-Swift.storyboard"; sourceTree = SOURCE_ROOT; };
1BF7553A1CF6093C00C793FB /* Launch Screen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = "Launch Screen.storyboard"; path = "SumUpSDKSampleApp/Launch Screen.storyboard"; sourceTree = "<group>"; };
C43F5FBB24F4FBD10091DB67 /* SumUpSDK.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = SumUpSDK.xcframework; path = ../SumUpSDK.xcframework; sourceTree = "<group>"; };
C46B41062AB2FD3C00271656 /* project.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = project.xcconfig; sourceTree = "<group>"; };
DC9610B118996359009D8EBC /* SumUpSDKSampleAppObjC.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SumUpSDKSampleAppObjC.app; sourceTree = BUILT_PRODUCTS_DIR; };
DC9610BC18996359009D8EBC /* SumUpSDKSampleApp-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "SumUpSDKSampleApp-Info.plist"; sourceTree = "<group>"; };
DC9610BE18996359009D8EBC /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
Expand Down Expand Up @@ -182,6 +183,7 @@
DC9610BB18996359009D8EBC /* Supporting Files */ = {
isa = PBXGroup;
children = (
C46B41062AB2FD3C00271656 /* project.xcconfig */,
DC9610BC18996359009D8EBC /* SumUpSDKSampleApp-Info.plist */,
DC9610BD18996359009D8EBC /* InfoPlist.strings */,
);
Expand Down Expand Up @@ -355,7 +357,6 @@
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
INFOPLIST_FILE = "SumUpSDKSampleApp/SumUpSDKSampleApp-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -385,7 +386,6 @@
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
INFOPLIST_FILE = "SumUpSDKSampleApp/SumUpSDKSampleApp-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -402,6 +402,7 @@
};
DC9610E118996359009D8EBC /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = C46B41062AB2FD3C00271656 /* project.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
Expand Down Expand Up @@ -447,8 +448,6 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MARKETING_VERSION = 4.3.4;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_VERSION = 5.0;
Expand All @@ -457,6 +456,7 @@
};
DC9610E218996359009D8EBC /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = C46B41062AB2FD3C00271656 /* project.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
Expand Down Expand Up @@ -495,8 +495,6 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MARKETING_VERSION = 4.3.4;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
Expand All @@ -513,7 +511,6 @@
DEVELOPMENT_TEAM = "";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
INFOPLIST_FILE = "SumUpSDKSampleApp/SumUpSDKSampleApp-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -534,7 +531,6 @@
DEVELOPMENT_TEAM = "";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
INFOPLIST_FILE = "SumUpSDKSampleApp/SumUpSDKSampleApp-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
3 changes: 3 additions & 0 deletions SampleApp/SumUpSDKSampleApp/project.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Configuration file containging common settings for the sample apps
IPHONEOS_DEPLOYMENT_TARGET=14.0
MARKETING_VERSION=4.4.0
22 changes: 10 additions & 12 deletions SumUpSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
Pod::Spec.new do |s|

# XCFramework support first came in 1.9.0.beta.1
s.cocoapods_version = '>= 1.9'

s.name = "SumUpSDK"
s.version = "4.3.4"
s.name = 'SumUpSDK'
s.version = '4.4.0'
s.summary = "This SDK enables you to integrate SumUp's proprietary card terminal(s) and its payment platform to accept credit and debit card payments."

s.description = <<-DESC
This SDK enables you to integrate SumUp's proprietary card terminal(s) and its payment platform to accept credit and debit card payments (incl. VISA, MasterCard, American Express and more). SumUp's SDK communicates transparently to the card terminal(s) via Bluetooth (BLE 4.0) or an audio cable connection. Upon initiating a checkout, the SDK guides your user using appropriate screens through each step of the payment process. As part of the process, SumUp also provides the card terminal setup screen, along with the cardholder signature verification screen. The checkout result is returned with the relevant data for your records.
DESC
DESC

s.homepage = "https://github.com/sumup/sumup-ios-sdk"
s.social_media_url = "https://twitter.com/SumUp"
s.license = { :file => "LICENSE", :type => "Proprietary" }
s.author = { "SumUp" => "[email protected]" }
s.homepage = 'https://github.com/sumup/sumup-ios-sdk'
s.social_media_url = 'https://twitter.com/SumUp'
s.license = { file: 'LICENSE', type: 'Proprietary' }
s.author = { 'SumUp' => '[email protected]' }

s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }

# This source is only used when the pod is specified by name in the trunk register.
# If you specify a specific tag/branch/path in the Podfile during development, this
# source is ignored.
s.source = { :git => "https://github.com/sumup/sumup-ios-sdk.git", :tag => "v#{s.version}" }

s.vendored_frameworks = "SumUpSDK.xcframework"
s.platform = :ios, "12.0"
s.source = { git: 'https://github.com/sumup/sumup-ios-sdk.git', tag: "v#{s.version}" }

s.vendored_frameworks = 'SumUpSDK.xcframework'
s.platform = :ios, '14.0'
end
12 changes: 6 additions & 6 deletions SumUpSDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-x86_64-simulator</string>
<key>LibraryPath</key>
<string>SumUpSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>SumUpSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>x86_64</string>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file modified SumUpSDK.xcframework/ios-arm64/SumUpSDK.framework/Assets.car
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified SumUpSDK.xcframework/ios-arm64/SumUpSDK.framework/Info.plist
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"ConstValues": [
{
"filePath": "\/Users\/jenkins\/node\/workspace\/sumup-orga_iOS-Merchant_PR-8020\/code\/Cashier\/Cashier\/WeakContainer.swift",
"filePath": "\/Users\/jadeburton\/iOS-Merchant\/code\/Cashier\/Cashier\/WeakContainer.swift",
"kind": "Array",
"offset": 363,
"length": 2,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name SumUpSDK
// swift-module-flags: -target arm64-apple-ios14.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name SumUpSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
@_exported import SumUpSDK
import Swift
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name SumUpSDK
// swift-module-flags: -target arm64-apple-ios14.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name SumUpSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
@_exported import SumUpSDK
import Swift
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified SumUpSDK.xcframework/ios-arm64/SumUpSDK.framework/SumUpSDK
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"ConstValues": [
{
"filePath": "\/Users\/jenkins\/node\/workspace\/sumup-orga_iOS-Merchant_PR-8020\/code\/Cashier\/Cashier\/WeakContainer.swift",
"filePath": "\/Users\/jadeburton\/iOS-Merchant\/code\/Cashier\/Cashier\/WeakContainer.swift",
"kind": "Array",
"offset": 363,
"length": 2,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name SumUpSDK
// swift-module-flags: -target x86_64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name SumUpSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
@_exported import SumUpSDK
import Swift
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name SumUpSDK
// swift-module-flags: -target x86_64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name SumUpSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
@_exported import SumUpSDK
import Swift
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit d1874a3

Please sign in to comment.