Resolve conflicts between the mPaaS custom OpenSSL library and other third-party OpenSSL libraries in your iOS project.
When you integrate mPaaS, its custom OpenSSL library may conflict with other third-party OpenSSL libraries in your project. To resolve the conflict, remove the conflicting library and use the mPaaS custom library instead. If API incompatibilities occur because your project requires a newer version of OpenSSL, import a newer custom OpenSSL library by using one of the following methods:
-
Using the mPaaS Xcode Extension
-
Using the CocoaPods plugin
Using the mPaaS Xcode Extension
Use this method if your project already uses the mPaaS Xcode Extension to manage the mPaaS framework.
-
In the extension, click the Edit Project button. Use the Upgrade Baseline feature, select Custom Baseline, enter the baseline ID
cp_change_20300, and click Confirm to complete the upgrade.NoteThis custom baseline aligns with the standard baseline
10.1.68.34. -
After the baseline is upgraded, select Edit Module from the top menu. Then, select the OpenSSL Module and add it to your project to import the custom library and resolve the conflict.
Using the CocoaPods plugin
Use this method if your project already uses the CocoaPods plugin to manage the mPaaS framework.
-
In the terminal, navigate to the directory that contains your project's Podfile. Run the
pod mpaas update cp_change_20300command to update the baseline.NoteThis custom baseline aligns with the standard baseline
10.1.68.34. -
Change the baseline version in your Podfile to
cp_change_20300and add the codemPaaS_pod "mPaaS_OpenSSL". Then, runpod installin the terminal to import the custom OpenSSL library and resolve the conflict.