How to use the iOS pod EaseIMKit library locally

When using the Huanxin EaseIMKit library, I found that some developers need to change some logic in the library, or have some adjustments on the UI. If you directly change the library in the pods, the later library version upgrade will overwrite the previously modified code. At this time, we need the pod to point to the local library to achieve better local componentization, and will not cause other conflicts when pod install.

So how to use the EaseIMKit library locally? This article teaches you five steps to achieve~~

1. Let's go to Huanxin official website to download SDK Demo

Address: https://downloadsdk.easemob.com/downloads/iOS_IM_SDK_V4.0.3.zip

After downloading, you can see the EaseIMKit folder in the file package
insert image description here

2. You can also find the corresponding version through pod search EaseIMKit, and then perform corresponding operations after pod install locally.
insert image description here

3. We can copy the EaseIMKit folder in the red box above to our own project to ensure the corresponding files in the folder, as shown in the figure below

insert image description here

4. At this time, you can set the pod to point to the local path in the podfile file. The setting method is shown in the figure below

insert image description here

5. Finally, execute pod install again
insert image description here

Guess you like

Origin blog.csdn.net/huan132456765/article/details/131851015