diff --git a/Doc/ChineseReadme.md b/Doc/ChineseReadme.md index a8f43968be52b9680f9af5d7ead557d903c2d98f..d73031aa2e6718fb9086f9250bab3b46ee2c504f 100644 --- a/Doc/ChineseReadme.md +++ b/Doc/ChineseReadme.md @@ -44,13 +44,13 @@ 包含两个subspec,一个是包含“日志显示”的“WithLogger” subspec ``` -pod 'DoraemonKit',:subspecs => ['WithLogger'], :git => "https://github.com/didi/DoraemonKit", :tag => '1.0.0' +pod 'DoraemonKit/WithLogger', '~> 1.0.0' ``` 一个是不包含“日志显示”的“Core” subspec ``` -pod 'DoraemonKit',:subspecs => ['Core'], :git => "https://github.com/didi/DoraemonKit", :tag => '1.0.0' +pod 'DoraemonKit/Core', '~> 1.0.0' ``` 默认引入“Core” subspec。 diff --git a/README.md b/README.md index 75035f67e11554eea848e51c2dc1548424c0202c..a367948db24db475e18d6b1c575caa613fb16de9 100644 --- a/README.md +++ b/README.md @@ -39,13 +39,13 @@ DoraemonKit contains two subspecs. One is the "WithLogger" subspec that contains the log display function based on ‘CocoaLumberjack’. ``` -pod 'DoraemonKit',:subspecs => ['WithLogger'], :git => "https://github.com/didi/DoraemonKit", :tag => '1.0.0' +pod 'DoraemonKit/WithLogger', '~> 1.0.0' ``` The other one is the "Core" subspec that does not contain the log display function. ``` -pod 'DoraemonKit',:subspecs => ['Core'], :git => "https://github.com/didi/DoraemonKit", :tag => '1.0.0' +pod 'DoraemonKit/Core', '~> 1.0.0' ``` The "Core" subspec is introduced by default.