Background
Starting April 25, 2023, Apple requires all apps submitted to the App Store to be built with Xcode 14.1 or later. See the official Apple announcement. Xcode 14 also drops support for armv7, armv7s, and i386 architectures, and requires iOS 11 or later as the deployment target. See the Xcode 14 Release Notes.
Current status
mPaaS baseline 10.2.3.19 and later fully support Xcode 14. If you use baseline 10.1.68 or earlier, 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
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
On Mac computers with M1 or M2 chips, running projects directly on an emulator is not supported. To work around this, add
arm64toExcluded Architecturesin your test target'sBuild Settings.
API changes
No API changes are required for the Xcode 14 adaptation. If you use baseline 10.1.68 or a related custom baseline, 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
Other dependent components that did not require code changes have also been rebuilt with Xcode 14. All libraries have been updated.
Test and verification scope
Apple's toolchain upgrade may introduce unexpected stability issues. Perform a full regression test on your app after completing the Xcode 14 adaptation.