Background
iOS 13 was officially released on September 20, 2019. During testing of the iOS 13 beta and official versions, some system behaviors were found to have changed. Apps must be adapted to these changes to avoid issues such as functional abnormalities or crashes.
Before mPaaS was adapted, the mPaaS software development kit (SDK) built with Xcode 10 on iOS 13 devices had a primary issue: iOS 13 optimized app startup and changed the image loading mechanism. This change could cause system categories to overwrite category methods defined in the SDK, which means custom methods might not return the expected results.
mPaaS is a base library. Versions 10.1.60.26 and later, built with Xcode 11, are now adapted for iOS 13.
Upgrade the SDK and components
Upgrade using CocoaPods
Follow these steps to install the latest SDK for version 10.1.60:
Make sure that the version number for the mPaaS components in your Podfile is 10.1.60.
Run the
pod mpaas update 10.1.60command. If an error occurs, first runpod mpaas update --allto update the plugin, and then run the command again.Run the
pod installcommand.
API changes
An adaptation layer was added to mPaaS components in version 10.1.32 and later. After you upgrade the SDK, you must use the APIs of the adaptation layer. For more information, see the notes on upgrading from earlier versions in the documentation for each component:
Modify your code to use the intermediate layer (adapter) methods instead of directly using the underlying methods. Some underlying methods may be changed or deprecated in future versions. If you continue to use them, you may need to spend more time on adaptation for future updates.
Handling custom libraries
Version 10.1.60 includes support for the customization requirements of each component. However, as a precaution, if your dependencies previously included custom libraries, handle them as follows:
If you are upgrading from an earlier SDK version, such as 10.1.20, to version 10.1.60, your custom libraries may need to be re-customized based on the new version. To confirm this, contact the mPaaS helpdesk by joining the DingTalk group 145930007362.
If you are already using version 10.1.60, you only need to update some components. See the Checklist of libraries updated for iOS 13 adaptation below and check if your custom library is included.
If it is not included, you can continue to use the custom library.
If it is included, your custom library may need to be re-customized. In this case, contact the mPaaS helpdesk by joining the DingTalk group 145930007362.
Checklist of libraries updated for iOS 13 adaptation
mPaaS
MPDataCenter
MPPushSDK
APMultimedia
BEEAudioUtil
BeeCapture
BeeCityPicker
BeeMediaPlayer
BeePhotoBrowser
BeePhotoPicker
NebulaAppBiz
NebulaBiz
NebulaSecurity
NebulaKernel
NebulaSDKPlugins
NebulaSDK
NebulaConfig
NebulaTinyAppDebug
NebulaNetwork
TinyAppCommon
APConfig
AntUI
MPPromotion
BeeLocation
MPMpaaSService
TinyAppService
AMap