NSScreencast Episode #28 Creating a Cocoapod
Creating a Cocoapod - NSScreencast
- episode 25, 26
- pod --version
= 0.10.0
- gem install cocoapods
- pod spec help
- pod spec create AppName https://github.url
- summary
- license :type => 'MIT', :file => 'LICENCE'
- source :git, :tag
- platform :ios, '5.0'
- source_files '*.{h,m}'
- resources icon image
- requires_arc = true
- dependency
- pod spec lint AppName.podspec
- git add commit push
- git tag -a 0.1 -m "version 0.1"
- git push --tags
- pod search
- fork cocoapods/Specs repository
- mkdir AppName
- mkdir AppName/0.1
- git add commit push origin master
- Pull Request
- Added AppName
- Use local or private
- podfile
- pod 'AppName', :git => ''
- pod 'MyPrivatePod', :podspec => 'local/path'
- pod install
- Podfile
- xcodeproj ''
- podfile
- Bump version
- change spec
- send another pull request