CocoaPods: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 25: | Line 25: | ||
==Podspec== | ==Podspec== | ||
<source lang="bash"> | <source lang="bash"> | ||
pod lib create | pod lib create AcademiaCoreGUI | ||
cd | cd AcademiaCoreGUI/ | ||
pod lib lint | pod lib lint AcademiaCoreGUI.podspec | ||
pod repo push academia-apps-iosgui | pod repo push academia-apps-iosgui AcademiaCoreGUI.podspec | ||
ls -la ~/.cocoapods/repos/academia-apps-iosgui/ | ls -la ~/.cocoapods/repos/academia-apps-iosgui/AcademiaCoreGUI.podspec/ | ||
pod repo add | pod repo add AcademiaCoreGUI https://github.com/chorkeorg/academia-apps-iosgui.git | ||
</source> | </source> | ||
<source lang="bash"> | <source lang="bash"> | ||
pod spec create | pod spec create AcademiaCoreGUI | ||
open -a Xcode | open -a Xcode AcademiaCoreGUI.podspec | ||
pod spec lint | pod spec lint AcademiaCoreGUI.podspec | ||
pod lib lint | pod lib lint | ||
</source> | </source> | ||
Line 58: | Line 58: | ||
pod install | pod install | ||
# pod repo update | # pod repo update | ||
pod update | pod update AcademiaCoreGUI | ||
pod install --repo-update | pod install --repo-update | ||
</source> | </source> |
Revision as of 00:01, 21 December 2019
Install
pod --version
pod repo update
cd /opt/dev/cki_workspaces/
cd ./init_workspace/chorke-init-iosapp/
pod init
vim Podfile
open -a xcode 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
Podspec
pod lib create AcademiaCoreGUI
cd AcademiaCoreGUI/
pod lib lint AcademiaCoreGUI.podspec
pod repo push academia-apps-iosgui AcademiaCoreGUI.podspec
ls -la ~/.cocoapods/repos/academia-apps-iosgui/AcademiaCoreGUI.podspec/
pod repo add AcademiaCoreGUI https://github.com/chorkeorg/academia-apps-iosgui.git
pod spec create AcademiaCoreGUI
open -a Xcode AcademiaCoreGUI.podspec
pod spec lint AcademiaCoreGUI.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 [email protected] 'Chorke Academia' --description='Chorke Academia, Inc.'
pod trunk push
pod install
# pod repo update
pod update AcademiaCoreGUI
pod install --repo-update