Skip to content

Commit 19805c5

Browse files
committed
Update README and iZettleSDK.podspec
1 parent 4461e56 commit 19805c5

File tree

2 files changed

+4
-21
lines changed

2 files changed

+4
-21
lines changed

README.md

+2-19
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![CocoaPods](https://img.shields.io/cocoapods/v/iZettleSDK.svg)](https://cocoapods.org/pods/iZettleSDK) [![CocoaPods](https://img.shields.io/cocoapods/p/iZettleSDK.svg)](https://cocoapods.org/pods/iZettleSDK) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
1+
[![CocoaPods](https://img.shields.io/cocoapods/v/iZettleSDK.svg)](https://cocoapods.org/pods/iZettleSDK) [![CocoaPods](https://img.shields.io/cocoapods/p/iZettleSDK.svg)](https://cocoapods.org/pods/iZettleSDK)
22

33
# iZettle SDK for iOS
44

@@ -39,8 +39,7 @@ is designed to be easy to implement and use.
3939
You can install iZettle SDK in several ways:
4040

4141
1. [CocoaPods](#cocoapods)
42-
2. [Carthage](#carthage)
43-
3. [Manual Installation](#manual-installation)
42+
2. [Manual Installation](#manual-installation)
4443

4544
### CocoaPods
4645

@@ -56,22 +55,6 @@ target 'Your App' do
5655
end
5756
```
5857

59-
### Carthage
60-
61-
Since iZettle SDK is distributed as a binary, you need to use custom `binary` rule in your `Cartfile`.
62-
63-
1. Add following to your `Cartfile`:
64-
65-
```
66-
binary "https://raw.githubusercontent.com/iZettle/sdk-ios/master/Carthage/iZettleSDK.json" >= 2.2
67-
```
68-
69-
2. Fetch frameworks by running:
70-
71-
```bash
72-
$ carthage update iZettleSDK
73-
```
74-
7558
### Manual Installation
7659

7760
1. Drag the binary frameworks from the `iZettleSDK` folder into your Xcode project:

iZettleSDK.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Pod::Spec.new do |s|
1111
s.platform = :ios, '8.0'
1212
s.source = { :git => 'https://github.com/iZettle/sdk-ios.git', :tag => "#{s.version}" }
1313
s.source_files = "#{s.name}/**/*.{h,swift}"
14-
s.preserve_paths = 'iZettleSDK/iZettleSDK.framework'
15-
s.public_header_files = 'iZettleSDK/iZettleSDK.framework/**/*.h'
14+
s.preserve_paths = 'iZettleSDK/iZettleSDK.xcframework'
15+
s.public_header_files = 'iZettleSDK/iZettleSDK.xcframework/**/*.h'
1616
s.vendored_frameworks = 'iZettleSDK/iZettleSDK.xcframework', 'iZettleSDK/iZettlePayments.xcframework'
1717
s.frameworks = 'SystemConfiguration', 'CoreLocation', 'ExternalAccessory', 'AudioToolbox', 'AVFoundation', 'MediaPlayer', 'QuartzCore', 'Accelerate', 'MessageUI', 'CoreData'
1818
s.library = 'z', 'c++'

0 commit comments

Comments
 (0)