1, openssl/rsa. H

Today, when receiving alipay third-party login and authorization, I imported all files by DEMO. Everything else is normal

Openssl /rsa.h not found. How to do?

I have tested Header Search Paths and Library Search Path for openSSL.

Set the openSSL file path in Header Search Paths.

Then search openSSL/globally and delete all. OK to complete. Compiled successfully!

2,OBJC_CLASS$_UTDevice

duplicate symbol _OBJC_METACLASS_$_UTDevice in:

/Users/xxxxx/Desktop/Project/XFKD/Pods/UMCSecurityPlugins/thirdparties/UTDID.framework/UTDID(UTDevice.o)

 /Users/xxxxx/Desktop/Project/XFKD/XFKD/Class/Custom/CWShare/AlipayAuth/sdk/AlipaySDK.framework/AlipaySDK
Copy the code

1. If a UTdid. framework error occurs.

2. Check whether there is any third-party platform like Umeng in the project. You can also search UTDID directly to see if it is used by other platforms

3. If not, download Alipay Demo and replace the two files obtained by downloading SDK with alipaysdK. bundle and AlipaysdK. framework in Demo

4. If yes, download the SDK of Alipay that does not include UTdiD. framework

Reason: Because Alipay uses UTdid. framework, if you download the above SDK, there will be a conflict if other SDK also contains UTdiD. framework. If you download the following SDK, you will get an error if the other SDK does not include utdiD. framework. There is nothing related to UTDID in alipay’s SDK. Who would suddenly think of this guy’s Alipay