打tag
git tag
git tag -m "获取用户的租户的应用是否存在(pass)" 0.2.20
git push origin --tags
172-11-0-189:smart-app-fmp hnbl008 git push origin :refs/tags/0.1.0
172-11-0-189:smart-app-fmp hnbl008$ git push origin :refs/tags/0.1.0
To code.sqbj.info:smart-ios/smart-app-fmp.git
- [deleted] 0.1.0
172-11-0-189:smart-app-fmp hnbl008git tag -d 0.1.0
Deleted tag '0.1.0' (was 5da6c25)
172-11-0-189:smart-app-fmp hnbl008git push origin --tags
创建一个新的组件库流程
Last login: Thu Nov 15 10:31:24 on ttys001
172-11-0-189:~ hnbl008 cd ~
172-11-0-189:~ hnbl008 pod lib create smart-app-fmp
Cloning https://github.com/CocoaPods/pod-template.git
into smart-app-fmp
.
Configuring smart-app-fmp template.
To get you started we need to ask a few questions, this should only take a minute.
If this is your first time we recommend running through with the guide:
-
https://guides.cocoapods.org/making/using-pod-lib-create.html
( hold cmd and double click links to open in a browser. )
What platform do you want to use?? [ iOS / macOS ]
ios
What language do you want to use?? [ Swift / ObjC ]
objc
Would you like to include a demo application with your library? [ Yes / No ]
yes
Which testing frameworks will you use? [ Specta / Kiwi / None ]
none
Would you like to do view based testing? [ Yes / No ]
no
What is your class prefix?
SC
Running pod install on your new library.
Analyzing dependencies
Fetching podspec for smart-app-fmp
from ../
Downloading dependencies
Installing smart-app-fmp (0.1.0)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use smart-app-fmp.xcworkspace
for this project from now on.
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
[!] Automatically assigning platform ios
with version 9.3
on target smart-app-fmp_Example
because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform
.
Ace! you're ready to go!
We will start you off by opening your project in Xcode
open 'smart-app-fmp/Example/smart-app-fmp.xcworkspace'
To learn more about the template see https://github.com/CocoaPods/pod-template.git
.
To learn more about creating a new pod, see http://guides.cocoapods.org/making/making-a-cocoapod
.
172-11-0-189:desktop hnbl008 ls
Example README.md smart-app-fmp
LICENSE _Pods.xcodeproj smart-app-fmp.podspec
172-11-0-189:smart-app-fmp hnbl008 pod install
[!] No Podfile' found in the project directory. 172-11-0-189:smart-app-fmp hnbl008$ pod install [!] No
Podfile' found in the project directory.
172-11-0-189:smart-app-fmp hnbl008 cd Example
172-11-0-189:Example hnbl008 pod install
网友评论