Adapt mPaaS 10.1.68 for iOS 14

更新时间:
复制 MD 格式

Background

Apple released iOS 14 on September 17, 2020. Apps require updates to support the new features and interfaces in iOS 14. mPaaS has been adapted for and tested with iOS 14 in baseline versions 10.1.68.17 and later.

Important

mPaaS provides base libraries. Versions 10.1.68.27 and later support iOS 14 builds in Xcode 12.

Upgrade SDKs/Components

Upgrade using the Extension plugin

To upgrade SDKs or components using the mPaaS Xcode Extension plugin, use one of the following methods:

Choose the upgrade method that is appropriate for your situation. If you:

  • If you use the Extension plugin to manage component dependencies but the current baseline version is lower than 10.1.68, you can use the Upgrade Baseline feature to upgrade to version 10.1.68.

    Note

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

  • If you use a plugin to manage component dependencies and your current baseline version is 10.1.68, you can use the Update Product Set feature to upgrade the modules that you are using.

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

    1. Install the mPaaS Xcode Extension.

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

Upgrade using CocoaPods

To install the latest SDK for version 10.1.68, perform the following steps:

  1. In your Podfile, ensure that the version number for the mPaaS component is set to 10.1.68.

  2. Run the pod mpaas update 10.1.68 command. If a command error occurs, update the plugin by running the pod mpaas update --all command, and then run the update command again.

  3. Run the pod install command.

API changes

For information about API usage changes, see the adaptation section for each component.

Handling custom baselines

If you use a custom baseline, you may need to create a new one that is based on the new version. To confirm, submit a ticket or contact the mPaaS helpdesk.

List of libraries updated for iOS 14

  • APMobileLBS

  • MPLBSAdapter