Background
Starting April 25, 2023, Apple requires all apps submitted to the App Store to be built with Xcode 14.1 or later. For more information, see the official Apple announcement. Additionally, Xcode 14 no longer supports building iOS projects for armv7, armv7s, or i386 architectures. It also does not support building for systems earlier than iOS 11. For more information, see the Xcode 14 Release Notes. Apps must be adapted for the new toolchain.
Current status
mPaaS has been adapted for and tested with Xcode 14 in baseline versions 10.2.3.19 and later. If you use baseline 10.1.68 or earlier, you must upgrade to the latest 10.2.3 version.
Upgrade the baseline
Choose an upgrade method based on your current baseline version.
Current baseline is 10.1.68 main baseline
First, see Use mPaaS 10.2.3 and adapt to iOS 16 to upgrade to the latest 10.2.3 baseline and perform the necessary adaptations.
Current baseline is a custom baseline
If you use a custom baseline, join the DingTalk group by searching for the group number 145930007362, or submit a ticket to contact technical support about switching to the 10.2.3 baseline.
Upgrade methods
Upgrade using CocoaPods
Follow these steps to install the latest SDK for version 10.2.3:
First, ensure the version number for mPaaS components in your Podfile is 10.2.3.
Run the
pod mpaas update 10.2.3command.If the command returns an error, first update the plugin by running the
pod mpaas update --allcommand, and then run the command again.Run the
pod installcommand.
Upgrade notes
Running projects directly on an emulator is not supported on Mac computers with M1 or M2 chips. To use an emulator, you need to add a configuration item. In your test target's
Build Settings, addarm64toExcluded Architectures.
API changes
There are no API usage changes for this Xcode 14 adaptation. If you use baseline 10.1.68 or a related custom baseline, first see Use mPaaS 10.2.3 and adapt to iOS 16 to upgrade to the latest 10.2.3 baseline and perform the necessary adaptations.
List of libraries updated for Xcode 14
Mobile Gateway Service
Mobile Scheduling
Mobile Sync Service
Message Push Service
SM SSL
Multimedia
Mini Program
Mobile Security Keyboard
Some internal dependent components
Related components that did not require code adaptation have also been rebuilt with Xcode 14. All libraries have been updated.
Test and verification scope
Because Apple's toolchain upgrade is a black box operation that can cause stability issues, you must perform a full regression test on your app after you complete the adaptation for Xcode 14.