Upgrade SDK version

When upgrading the SDK, perform the following steps:

  1. Download the SDK resource package with the new version, and extract it. For example, mark the extraction directory as the <NEW_SDK_PATH> variable.
  2. Run the synchronization script (specify the new version SDK directory via --root):
copy
cd IAPMiniProgram-SPM
bash Scripts/sync_from_local.sh --root <NEW_SDK_PATH> --execute

For example, if the new version is extracted to /path/to/IAPMiniProgram-v2.84.0.99, run the following command:

copy
bash Scripts/sync_from_local.sh --root /path/to/IAPMiniProgram-v2.84.0.99 --execute
  1. Rebuild in Xcode project.