Adapt mPaaS 10.1.68 for Xcode 13

更新时间:
复制 MD 格式

mPaaS 10.1.68.47 and later baselines support Xcode 13. Upgrade your SDKs and components to ensure compatibility.

Background

Starting April 2022, Apple requires all App Store submissions to be built with Xcode 13, which requires app-level adaptation.

Current status

mPaaS supports Xcode 13 in baseline version 10.1.68.47 and later.

Upgrade SDKs and components

Upgrade using the Extension plugin

To upgrade SDKs and components with the mPaaS Xcode Extension plugin, choose one of the following methods:

Select the method that matches your setup:

  • If you already use the Extension plugin to manage component dependencies and your current baseline version is earlier than 10.1.68, use the Upgrade baseline feature to upgrade to version 10.1.68.

    Note

    You can view the current baseline version in the Upgrade Baseline section of the plugin.

  • If you already use the plugin to manage component dependencies and your current baseline version is 10.1.68, use the Update product set feature to upgrade the modules you use.

  • If you do not use the plugin to manage component dependencies, follow these steps to upgrade:

  1. Install the mPaaS Xcode Extension.

  2. Use the Edit modules feature to select the 10.1.68 baseline and add the required modules.

Upgrade using CocoaPods

To install the latest 10.1.68 SDK with CocoaPods:

  1. First, make sure the version number for the mPaaS components in your Podfile is 10.1.68.

  2. Run the pod mpaas update 10.1.68 command. If the command returns an error, first run pod mpaas update --all to update the plugin, and then run the command again.

  3. Run the pod install command.

API changes

This upgrade introduces no API changes.

Handling custom baselines

You can also join the DingTalk group (ID: 145930007362) for mPaaS technical support.

List of libraries updated for Xcode 13 compatibility

  • Map component: The default AMAP is upgraded to version 7.1.14.

  • Share component.

  • Some internal dependent components.

Scope of testing and validation

Apple's toolchain upgrade may introduce unexpected stability issues. After adapting your app for Xcode 13, perform a full regression test.