Upgrade SDK version
When upgrading the SDK, perform the following steps:
- Download the SDK resource package with the new version, and extract it. For example, mark the extraction directory as the
<NEW_SDK_PATH>variable. - 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> --executeFor 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- Rebuild in Xcode project.