Contents

yanyin1986/wechatopensdk

English | [简体中文](README_zh-CHS.md) | [繁体中文](README_zh-CHT.md)

What's this?

  • Wrap WeChatOpenSDK-XCFramework.xcframework and make it easy to use with Swift Package Manager.
  • Mirror and automatically keep the version in sync with CocoaPods.

Installation

Swift Package Manager (GUI)

<details><summary> 1. Project -> Package Dependencies -> + </summary> <p> <img width="580" alt="image" src="https://user-images.githubusercontent.com/1109143/229008330-c7080531-55ac-4431-8748-bd6ab314d990.png"> </p> </details>

<details><summary> 2. Input https://github.com/yanyin1986/WechatOpenSDK.git, and press Add Package. </summary> <p> <img width="580" alt="image" src="https://user-images.githubusercontent.com/1109143/229008672-1144a5f7-4099-4ac0-ae4a-8c75cac4eec5.png"> </p> </details>

<details><summary> 3. Create Bridge Header file, and input #import &lt;WXApi.h&gt; </summary> <p> <img width="580" alt="image" src="https://user-images.githubusercontent.com/1109143/229009112-e5474e69-eef8-43f3-95d1-c6bbf9502ba2.png"> </p> </details>

  1. Done

Package Metadata

Repository: yanyin1986/wechatopensdk

Default branch: master

README: README.md