Troubleshooting steps
If your project already includes other Alibaba SDKs, such as the Alipay SDK, integrating the Mobile Push SDK may cause a UTDID conflict error.
If you integrate the Push SDK using Pods, manually integrate the version of the Alipay SDK that excludes the UTDID component. For more information, see UTDID conflict issues when using Alibaba Cloud product SDKs.
If a UTDID conflict occurs when you integrate both the Push SDK and other Alibaba SDKs using Pods, manually integrate one of the SDKs. Remove the UTDID dependency for the manually integrated SDK, and retain the UTDID dependency from the Pods integration.
If you encounter issues when integrating the SDK using Pods, see FAQ and solutions for iOS SDK integration using Pods.
If the console prints the following log after you integrate the SDK:
[NSConcreteMutableData gzipDeflate]: unrecognized selector sent to instance
To resolve this, open your project configuration, go to Build Settings > Other Linker Flags, and add
-ObjC, as shown in the following figure:
If a compile error occurs after you add
-ObjC, see Errors when configuring -ObjC.If initialization returns a
route not founderror after you switch the appKey, see Resolving the "route not found" error after switching the appKey on iOS.
If the preceding steps do not resolve the issue:
Join our DingTalk group. The group number is 35248489 (Download DingTalk).
Or, submit a ticket. For the ticket category, select
Mobile Push.
When you report an issue, include the following information in the specified format to help us quickly identify the problem. Fields marked with an asterisk (*) are required.Operation:Unexpected behavior:Device platform (Android or iOS):Push method (all, account, device, tag, or alias):* AppKey:* Message ID (available in the console):* Device ID (available in the terminal log):