Adapt mPaaS 10.2.3 for iOS 18

更新时间:
复制 MD 格式

Learn about the adaptations made to the mPaaS 10.2.3 baseline for iOS 18 and the tasks you must complete.

Background

iOS 18 was officially released in September 2024. To support the new system features and interfaces, mPaaS has completed adaptation and testing for iOS 18 beta(6) in baseline versions 10.2.3.50 and later.

Current status

The mPaaS base libraries have been adapted and tested for iOS 18 beta(6) using IPA packages built with Xcode 15. If you plan to publish your app on the Apple App Store, use Xcode 15 for packaging for now.

The Xcode 16 toolchain is still under development. Once complete, mPaaS will release an Xcode 16 build adapted for iOS 18.

Upgrade the baseline

Upgrade the baseline version to 10.2.3.50 or later.

Current baseline: 10.1.68 main baseline

First, upgrade to the latest 10.2.3 baseline and perform the required adaptations. For more information, see Adapting mPaaS 10.2.3 for Xcode15.

Current baseline is a custom baseline

If you use a custom baseline, search for the DingTalk group ID 145930007362 to join the group, or submit a ticket to the helpdesk to ask if you can switch to the 10.2.3 baseline.

Upgrade methods

Upgrade using the Extension plugin

You can upgrade the SDK or components using the mPaaS Xcode Extension plugin with one of the following methods:

Choose an upgrade method based on your situation:

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

    Note

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

  • If you already use the plugin to manage component dependencies and your current baseline version is 10.2.3, 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 mPaaS Xcode Extension.

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

Upgrade using CocoaPods

Follow these steps to install the latest SDK for version 10.2.3:

  1. First, ensure that the version number for mPaaS components in your Podfile is 10.2.3.

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

  3. Run pod install.

API changes

The iOS 18 release notes do not indicate any API changes that require adaptation.

iOS 18 adaptation

iOS 18 was officially released in September 2024. Apps must be updated to support the new system features and interfaces.

  • This baseline has been adapted and tested for iOS 18 beta(6) by building IPA packages with Xcode 15.

  • If you plan to publish your app on the Apple App Store, use Xcode 15 for packaging for now.

  • The Xcode 16 toolchain is under development. Once complete, mPaaS will release an Xcode 16 build adapted for iOS 18.

The main components involved in iOS 18 adaptation include, but are not limited to, the following:

  • Base framework

  • Code Scanning

  • Mini Program

  • Gateway

  • Offline Package

  • Some internal dependent components

Apps that use these components must be fully tested on iOS 18 to ensure functionality, compatibility, and stability.

Handling custom baselines

If you use a custom baseline, you may need to re-customize it for the new version. Submit a ticket or contact the mPaaS helpdesk for confirmation.