CocoaPods: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 64: Line 64:
* [https://stackoverflow.com/questions/55011171 Unable to load contents of file list]
* [https://stackoverflow.com/questions/55011171 Unable to load contents of file list]
* [https://medium.com/flawless-app-stories/getting-started-with-reusable-frameworks-for-ios-development-f00d74827d11 Reusable Frameworks for iOS]
* [https://medium.com/flawless-app-stories/getting-started-with-reusable-frameworks-for-ios-development-f00d74827d11 Reusable Frameworks for iOS]
* [https://guides.cocoapods.org/using/pod-install-vs-update.html Pod install vs. pod update]

Revision as of 04:05, 17 December 2019

Install

pod --version
pod repo update
cd /opt/dev/cki_workspaces/
cd ./init_workspace/chorke-init-iosapp/
pod init
vim Podfile 
pod install

Fixing

pod deintegrate
sudo gem install cocoapods-clean
cd /opt/dev/cki_workspaces/
cd ./init_workspace/chorke-init-iosapp/
pod clean
pod setup
pod install

Pod Specification

pod lib create AcademiaGUI
cd AcademiaGUI/

pod lib lint AcademiaGUI.podspec 
pod repo push academia-apps-iosgui AcademiaGUI.podspec 
ls -la ~/.cocoapods/repos/academia-apps-iosgui/AcademiaGUI.podspec/
pod repo add AcademiaGUI https://github.com/chorkeorg/academia-apps-iosgui.git
pod spec create AcademiaGUI
pod spec lint AcademiaGUI.podspec
pod lib lint
:'
git tag -d 0.0.1
git push --delete deploy -d 0.0.1
'
git tag 0.0.1
git push deploy 0.0.1
pod trunk register devs@chorke.org 'Chorke Academia' --description='Chorke Academia, Inc.'
pod trunk push
pod install
# pod repo update
pod update AcademiaGUI
pod install --repo-update

References