CocoaPods: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 25: Line 25:
pod lib create AcademiaGUI
pod lib create AcademiaGUI
cd AcademiaGUI/
cd AcademiaGUI/
</source>


<source lang="bash">
pod lib lint AcademiaGUI.podspec  
pod lib lint AcademiaGUI.podspec  
pod repo push academia-apps-iosgui AcademiaGUI.podspec  
pod repo push academia-apps-iosgui AcademiaGUI.podspec  
ls -la ~/.cocoapods/repos/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 repo add AcademiaGUI https://github.com/chorkeorg/academia-apps-iosgui.git
</source>
<source lang="bash">
pod spec create AGUI
pod spec lint AcademiaGUI.podspec
pod lib lint
</source>
<source lang="bash">
:'
git tag -d 0.0.1
git push --delete deploy -d 0.0.1
'
git tag 0.0.1
git push origin 0.0.1
</source>
<source lang="bash">
pod trunk register [email protected] 'Chorke Academia' --description='Chorke Academia, Inc.'
pod trunk push
</source>
</source>



Revision as of 01:46, 16 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 AGUI
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 origin 0.0.1
pod trunk register [email protected] 'Chorke Academia' --description='Chorke Academia, Inc.'
pod trunk push

References