For Android, we use Gradle + Maven. For Android, we use Gradle + Maven. Then we need to use pod in iOS.
First of all, I have to make fun of Xcode, the IDE. I don’t know if I’m used to IDEA, which makes me think that IDE is supposed to inherit command line tools and GIT tools, but Xcode doesn’t have them. I don’t know why. At present feel convenient is that the same project can open two Windows, let me think of the first second is convenient copy code!! All right, let’s cut the crap. To use POD in a project, make sure you have Cocoapods installed
sudo gem install cocoapods
1. Open the cli of the terminal and enter “POD init”. A file named Podfile is automatically created
2. Edit the Podfile file to add the required three-way library. I found a loading box online.
3. Run the “pod install” command.
4. An xcWorkspace file will appear in our project directory. Double-click to open it and see it
Pod file contents