Skip to content

Commit

Permalink
Merge pull request #6 from Adyen/release-2.0.0
Browse files Browse the repository at this point in the history
Cleanup project and set version to stable 2.0.0
  • Loading branch information
descorp authored Jan 20, 2022
2 parents 4a9b99d + 74e0463 commit b5712a6
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 24 deletions.
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
xcuserdata/

## App packaging
*.ipa
*.dSYM.zip
.build/

## Swift Package Manager
Packages/
Package.resolved
.swiftpm

# CocoaPods
Pods/

# Carthage
Carthage/Checkouts
Carthage/Build/
7 changes: 0 additions & 7 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

This file was deleted.

Binary file not shown.

This file was deleted.

2 changes: 1 addition & 1 deletion AdyenWeChatPayInternal.podspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = '2.0.0-beta.1'
version = '2.0.0'

Pod::Spec.new do |spec|
spec.name = 'AdyenWeChatPayInternal'
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

The [WeChat Pay SDK](https://developers.weixin.qq.com/doc/oplatform/en/Downloads/iOS_Resource.html) is a static `.a` library. This repository provides an XCFramework around the static library for more convenient importing of the WeChat Pay SDK. This is especially useful when using Swift Package Manager.

Embeded WeChat SDK versions: 1.9.2

> :heavy_exclamation_mark: WeChat SDK versions 1.8.6.1 and below contain UIKit symbols and cause rejection during App Store Review: "ITMS-90809: Deprecated API Usage".

## Requirements

- For embedding the XCFramework into an Xcode project, Xcode 11+ is required.
Expand All @@ -22,7 +27,7 @@ The [WeChat Pay SDK](https://developers.weixin.qq.com/doc/oplatform/en/Downloads
https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app
) guide on how to add a Swift Package dependency.
2. Use `https://github.com/Adyen/adyen-wechatpay-ios` as the repository URL.
3. Specify the version to be at least `1.0.0`.
3. Specify the version to be at least `2.0.0`.

:warning: _Please make sure to use Xcode 12.0+ when adding `AdyenWeChatPayInternal` using Swift Package Manager._

Expand All @@ -38,7 +43,7 @@ https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_y
2. Run `carthage update --use-xcframeworks`.
3. Link the framework with your target as described in [Carthage Readme](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application).

Note: for non-M1 mac use workarounds from [here](https://github.com/Carthage/Carthage/issues/3019#issuecomment-665136323)
Note: for non-M1 mac use workarounds from [here](https://github.com/Carthage/Carthage/issues/3019#issuecomment-665136323)

## Usage

Expand Down

0 comments on commit b5712a6

Please sign in to comment.