diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..7192084 --- /dev/null +++ b/Package.swift @@ -0,0 +1,24 @@ +// swift-tools-version:5.3 +import PackageDescription + +let package = Package( + name: "ElepaySDK", + platforms: [ + .iOS(.v11) + ], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "ElepaySDK", + targets: ["ElepaySDK"]), + ], + dependencies: [ + // No dependencies, but you may want to use Elepay_ChinesePayments_Plugin or Stripe, Braintree, etc. You should add them youself. + ], + targets: [ + .binaryTarget( + name: "ElepaySDK", + path: "ElepaySDK.xcframework" + ) + ] +) diff --git a/README.md b/README.md index a5fafbb..266a9c6 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,8 @@ Objective-C のプロジェクトで elepay iOS SDK を利用する場合は[こ * v1.7.1 からは「Build for Distribution」でコンパイルしますので、その後 Swift のバージョンを気にしなくてご利用できます。 * v2.0 から、XCFramework の導入に伴う、Framework と Module、Class 名が変更しました。 ```ElePay.framework → ElepaySDK.xcframework, ElePay → ElepaySDK, ElePay → Elepay```。 -* v3.0.0 から、iOS 10 のサポートが終了しました。 +* v3.0.0 から、iOS 10 のサポートが終了しました。 +* v3.1.1 は SPM (Swift Package Manager) にサポートしました。ご注意:このバージョンは Cocoapods にリリースしていませんので、Cocoapods ご利用の場合は v3.1.0 を利用してください。 ## English @@ -60,4 +61,5 @@ If you are using **elepay iOS SDK** in Objective-C project, please check [here]( * From v2.0, the SDK is distributed in XCFramework format. Also the Framework name, module name and class name has been changed. ```ElePay.framework → ElepaySDK.xcframework, ElePay → ElepaySDK, ElePay → Elepay``` -* From v3.0.0, iOS 10 is no longer supported. +* From v3.0.0, iOS 10 is no longer supported. +* v3.1.1 add SPM (Swift Package Manager) support. NOTE: This version will not be released to Cocoapods, use v3.1.0 instead. diff --git a/release-note.md b/release-note.md index 19f2e1b..f5ce15c 100644 --- a/release-note.md +++ b/release-note.md @@ -3,6 +3,14 @@ ElepaySDK use [semantic versioning](http://semver.org/). Starting from v2.0.0, we start distributing ElepaySDK for iOS in XCFramework format. +## 3.1.1 + +> New Features +> +> 1. SPM (Swift Package Manager) supported. +> NOTE: This version will not be released to Cocoapods, use v3.1.0 instead. +> + ## 3.1.0 > New Features