add cocoapod function