Create library with Cocopads
Feb 14, 2019, 12:00 AM
Install Cocoapods
Create Lib
$ pod spec create Peanut
$ edit Peanut.podspec
$ pod spec lint Peanut.podspec
Folder Struture
Example/Demo
MyLibDemo
Mylib.xcodeworkspace
Podfile
MyLib.xcodeproj
MyLib.podspec
- Demo is designed to test or use the Mylib
- Demo uses path: ”../../” to refer the MyLib project
MyLib.podspec defines all related files