diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ee3a19 --- /dev/null +++ b/.gitignore @@ -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/ diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a..0000000 --- a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/.swiftpm/xcode/package.xcworkspace/xcuserdata/mohamede.xcuserdatad/UserInterfaceState.xcuserstate b/.swiftpm/xcode/package.xcworkspace/xcuserdata/mohamede.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index baba650..0000000 Binary files a/.swiftpm/xcode/package.xcworkspace/xcuserdata/mohamede.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/.swiftpm/xcode/xcuserdata/mohamede.xcuserdatad/xcschemes/xcschememanagement.plist b/.swiftpm/xcode/xcuserdata/mohamede.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 1d59e78..0000000 --- a/.swiftpm/xcode/xcuserdata/mohamede.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,14 +0,0 @@ - - - - - SchemeUserState - - AdyenWeChatPayInternal.xcscheme_^#shared#^_ - - orderHint - 0 - - - - diff --git a/AdyenWeChatPayInternal.podspec b/AdyenWeChatPayInternal.podspec index 9bd5415..3436a3a 100644 --- a/AdyenWeChatPayInternal.podspec +++ b/AdyenWeChatPayInternal.podspec @@ -1,4 +1,4 @@ -version = '2.0.0-beta.1' +version = '2.0.0' Pod::Spec.new do |spec| spec.name = 'AdyenWeChatPayInternal' diff --git a/README.md b/README.md index b50d837..56dc674 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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._ @@ -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