All Products
Search
Document Center

Mobile Platform as a Service:mPaaS 10.2.3 Adaptation to Xcode14

Last Updated:Jul 03, 2023

Background information

Apple requires that all apps submitted to the App Store must be built using Xcode 14.1 or later from April 25, 2023. Please refer to Apple's official statement for details. In addition, Xcode 14 no longer supports building iOS projects with ARMv7, ARMv7s, and i386 architectures, and no longer supports building systems before iOS 11. For more information, see Xcode 14 release notes. For the new tool chain, App needs to be adapted.

Current Status

Currently, mPaaS has completed the adaptation and testing of Xcode 14 in the baseline version 10.2.3.19 and later. If you use the baseline version 10.1.68 or earlier, upgrade to the latest version 10.2.3.

Upgrade Baseline

Select an upgrade method based on your current baseline version.

Current baseline is 10.1.68 primary baseline

Please refer to mPaaS 10.2.3 Usage and Adaptation to iOS 16 to upgrade to the latest baseline of 10.2.3 and make relevant adaptation.

The current baseline is a custom baseline

If you are using a custom baseline, search for the group number 41708565 to join the DingTalk group or submit a ticket to consult the corresponding after-sales and technical helpdesk.

Upgrade mode

CocoaPods-based upgrade

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

  1. First, make sure that the version number of the mPaaS component in the Podfile is 10.2.3.

  2. Execute the pod mpaas update 10.2.3.

    If a command error is reported, run the pod mpaas update --all command to update the plug-in and then run the command again.

  3. Execute the pod install.

Description

At present, Mac machines that do not support M1 and M2 chips are run directly using the simulator. If you want to use the simulator, you can add relevant configuration items, set the Excluded Architectures in the test Build Settings, and add arm64.

API changes

This Xcode14 adaptation has no changes in interface usage for the time being.. If you are using the 10.1.68 or related customized baseline, upgrade to the latest 10.2.3 baseline and make relevant adaptation by referring to mPaaS 10.2.3 Usage and Adaptation to iOS 16.

Library manifest adapted to Xcode 14 update

  • Mobile gateways

  • Mobile scheduling

  • Data synchronization

  • Message push

  • SSL

  • Multimedia

  • Miniapp

  • Mobile Security Keyboard

  • Some internal dependent components

  • Related components that do not involve code adaptation have been rebuilt using Xcode 14, and all libraries have been updated.

Scope of test verification

As the upgrade of Apple's tool chain is a black box operation, it often brings stability and other problems. After the adaptation of App to Xcode 14 is completed, it is recommended to conduct a comprehensive regression test on App.