Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK Release v4.0.0 #454

Merged
merged 3 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
4.0.0
- Contains privacy manifests and signatures required for app store submissions.
- Requires a new dependency, `PPRiskMagnes`, that you need to ensure is included in your application's target in Xcode (see [Migration Guide](https://developer.zettle.com/docs/ios-sdk/upgrading/sdk-4.0-migration-guide) for upgrade instructions).
- Support for setting `PayPal partner attribution ID` for Manual Card Entry payments.
- Under the hood changes for card payments.

3.22.0
- Same great features, with a fresh style inspired by PayPal.
- Support for setting `PayPal partner attribution ID` for card payments.
Expand Down
12 changes: 9 additions & 3 deletions Example/iZettleSDKSample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objectVersion = 60;
objects = {

/* Begin PBXBuildFile section */
Expand All @@ -12,6 +12,8 @@
07B1AF2B28F55EB60066D1D8 /* iZettleSDK.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = B803A23227B118DE00C5C4C7 /* iZettleSDK.xcframework */; };
07B1AF2C28F55EB60066D1D8 /* iZettleSDK.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = B803A23227B118DE00C5C4C7 /* iZettleSDK.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
739E173D2A4490E000839E00 /* ManualCardEntryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 739E173C2A4490E000839E00 /* ManualCardEntryViewController.swift */; };
876B84F42BCD2805006AE847 /* PPRiskMagnes.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 876B84F22BCD27FD006AE847 /* PPRiskMagnes.xcframework */; };
876B84F52BCD2805006AE847 /* PPRiskMagnes.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 876B84F22BCD27FD006AE847 /* PPRiskMagnes.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
9B8B199E24754A0F00C74D78 /* CustomAuthorizationProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B8B199D24754A0F00C74D78 /* CustomAuthorizationProvider.m */; };
9BC1DCBB24ACBA58004E74DC /* AccountManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 9BC1DCBA24ACBA58004E74DC /* AccountManager.m */; };
B803A22627AAA17D00C5C4C7 /* QRCPaymentViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B803A22527AAA17D00C5C4C7 /* QRCPaymentViewController.swift */; };
Expand All @@ -35,6 +37,7 @@
files = (
07B1AF2C28F55EB60066D1D8 /* iZettleSDK.xcframework in Embed Frameworks */,
07B1AF2A28F55EB30066D1D8 /* iZettlePayments.xcframework in Embed Frameworks */,
876B84F52BCD2805006AE847 /* PPRiskMagnes.xcframework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -44,15 +47,16 @@
/* Begin PBXFileReference section */
3F0C93981AC30F4600305D8F /* iZettle SDK Sample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iZettle SDK Sample.app"; sourceTree = BUILT_PRODUCTS_DIR; };
739E173C2A4490E000839E00 /* ManualCardEntryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ManualCardEntryViewController.swift; sourceTree = "<group>"; };
876B84F22BCD27FD006AE847 /* PPRiskMagnes.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:XEZPTDFLAS:changching chi"; lastKnownFileType = wrapper.xcframework; name = PPRiskMagnes.xcframework; path = ../iZettleSDK/PPRiskMagnes.xcframework; sourceTree = "<group>"; };
9B8B199C24754A0F00C74D78 /* CustomAuthorizationProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CustomAuthorizationProvider.h; sourceTree = "<group>"; };
9B8B199D24754A0F00C74D78 /* CustomAuthorizationProvider.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CustomAuthorizationProvider.m; sourceTree = "<group>"; };
9BC1DCB924ACBA58004E74DC /* AccountManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AccountManager.h; sourceTree = "<group>"; };
9BC1DCBA24ACBA58004E74DC /* AccountManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AccountManager.m; sourceTree = "<group>"; };
B803A22427AAA17C00C5C4C7 /* iZettle SDK Sample-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iZettle SDK Sample-Bridging-Header.h"; sourceTree = "<group>"; };
B803A22527AAA17D00C5C4C7 /* QRCPaymentViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QRCPaymentViewController.swift; sourceTree = "<group>"; };
B803A22E27AC0A3000C5C4C7 /* SelectionTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SelectionTableViewController.swift; sourceTree = "<group>"; };
B803A23227B118DE00C5C4C7 /* iZettleSDK.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = iZettleSDK.xcframework; path = ../iZettleSDK/iZettleSDK.xcframework; sourceTree = "<group>"; };
B803A23327B118DE00C5C4C7 /* iZettlePayments.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = iZettlePayments.xcframework; path = ../iZettleSDK/iZettlePayments.xcframework; sourceTree = "<group>"; };
B803A23227B118DE00C5C4C7 /* iZettleSDK.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:42YXYHRXV7:iZettle AB"; lastKnownFileType = wrapper.xcframework; name = iZettleSDK.xcframework; path = ../iZettleSDK/iZettleSDK.xcframework; sourceTree = "<group>"; };
B803A23327B118DE00C5C4C7 /* iZettlePayments.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:42YXYHRXV7:iZettle AB"; lastKnownFileType = wrapper.xcframework; name = iZettlePayments.xcframework; path = ../iZettleSDK/iZettlePayments.xcframework; sourceTree = "<group>"; };
B8C1265F27C38FDF00AA6F45 /* AccessTokenFetcher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AccessTokenFetcher.m; sourceTree = "<group>"; };
B8C1266027C38FDF00AA6F45 /* AccessTokenFetcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessTokenFetcher.h; sourceTree = "<group>"; };
E6F9FEDB1DDDFFC80051C21D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
Expand All @@ -75,6 +79,7 @@
files = (
07B1AF2B28F55EB60066D1D8 /* iZettleSDK.xcframework in Frameworks */,
07B1AF2928F55EB30066D1D8 /* iZettlePayments.xcframework in Frameworks */,
876B84F42BCD2805006AE847 /* PPRiskMagnes.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -124,6 +129,7 @@
D7E94CD724AE527F00B55A9A /* Frameworks */ = {
isa = PBXGroup;
children = (
876B84F22BCD27FD006AE847 /* PPRiskMagnes.xcframework */,
B803A23327B118DE00C5C4C7 /* iZettlePayments.xcframework */,
B803A23227B118DE00C5C4C7 /* iZettleSDK.xcframework */,
);
Expand Down
7 changes: 5 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let package = Package(
products: [
.library(
name: "sdk-ios",
targets: ["iZettleSDK", "iZettlePayments"]),
targets: ["iZettleSDK", "iZettlePayments", "PPRiskMagnes"]),
],
dependencies: [],
targets: [
Expand All @@ -18,6 +18,9 @@ let package = Package(
path: "./iZettleSDK/iZettleSDK.xcframework"),
.binaryTarget(
name: "iZettlePayments",
path: "./iZettleSDK/iZettlePayments.xcframework")
path: "./iZettleSDK/iZettlePayments.xcframework"),
.binaryTarget(
name: "PPRiskMagnes",
path: "./iZettleSDK/PPRiskMagnes.xcframework")
]
)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

## Get help

Contact our developer support at [Zettle Developer Portal](https://developer.zettle.com).
Contact our developer support at [Zettle Developer Portal](https://ext-izettle.atlassian.net/servicedesk/customer/portal/3).
6 changes: 3 additions & 3 deletions iZettleSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = 'iZettleSDK'
s.version = '3.22.0'
s.version = '4.0.0'
s.summary = 'iZettle SDK for iOS'
s.description = <<-DESC
For detailed information, please see iZettleSDK documentation and Readme.
DESC
s.homepage = 'https://www.izettle.com/'
s.homepage = 'https://www.zettle.com/'
s.license = { :type => 'Commercial', :file => 'LICENSE' }
s.author = { 'PayPal Inc' => '[email protected]' }
s.platform = :ios, '12.0'
Expand All @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
s.source_files = "#{s.name}/**/*.{h,swift}"
s.preserve_paths = 'iZettleSDK/iZettleSDK.xcframework'
s.public_header_files = 'iZettleSDK/iZettleSDK.xcframework/**/*.h'
s.vendored_frameworks = 'iZettleSDK/iZettleSDK.xcframework', 'iZettleSDK/iZettlePayments.xcframework'
s.vendored_frameworks = 'iZettleSDK/iZettleSDK.xcframework', 'iZettleSDK/iZettlePayments.xcframework', 'iZettleSDK/PPRiskMagnes.xcframework'
s.frameworks = 'SystemConfiguration', 'CoreLocation', 'ExternalAccessory', 'AudioToolbox', 'AVFoundation', 'MediaPlayer', 'QuartzCore', 'Accelerate', 'MessageUI', 'CoreData'
s.library = 'z', 'c++'
s.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC', 'LIBRARY_SEARCH_PATHS' => '"$(PODS_ROOT)/iZettleSDK"' }
Expand Down
40 changes: 40 additions & 0 deletions iZettleSDK/PPRiskMagnes.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>PPRiskMagnes.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-arm64</string>
<key>LibraryPath</key>
<string>PPRiskMagnes.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading