Background
Starting April 29, 2024, Apple requires all apps submitted to the App Store to be built with Xcode 15 or later. For more information, see Apple's official announcement. Xcode 15 no longer supports iOS versions earlier than 12. For more information, see the Xcode 15 Release Notes.
Apple announced that starting May 1, 2024, if your app's code uses APIs from Apple's required reason API list, you must declare the reasons in the app's privacy manifest. If your app uses SDKs from Apple's list of third-party SDKs, the SDKs must include a corresponding privacy manifest. This is required to upload new apps or app updates to App Store Connect. For more information, see Apple's official announcement.
Current status
mPaaS has completed adaptation and testing for Xcode 15 in baseline versions 10.2.3.40 and later. If you use baseline 10.1.68 (deprecated) or earlier, you must upgrade to the latest 10.2.3 version. Support for iOS versions earlier than 12 is discontinued.
Upgrade the baseline
Choose an upgrade method based on your current baseline version.
Current baseline: 10.2.3 main baseline
First, see Using mPaaS 10.2.3 and adapting for iOS 17 to upgrade to the latest 10.2.3 baseline and perform the required adaptations.
Current baseline: Custom baseline
If you use a custom baseline, contact technical support to check if you can switch to the 10.2.3 baseline. To contact support, join the DingTalk group (ID: 145930007362) or submit a ticket.
Upgrade methods
Upgrade using CocoaPods
Follow these steps to install the latest SDK for version 10.2.3:
Make sure 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 run
pod mpaas update --allto update the plugin, and then run the command again.Run the
pod installcommand.
API changes
This adaptation for Xcode 15 includes no changes to API usage.
List of libraries updated for Xcode 15
Mobile Gateway Service
Mobile Scheduling
Data Synch Service
Message Push Service
SM-series Cryptography
Multimedia
Mini Program
Offline Package
Secure Keyboard
Some internal dependent components
Scope of testing and validation
Apple's toolchain upgrades are a black-box operation and can often cause stability issues. After you update your app to support Xcode 15, you must perform a full regression test.