help wantedt2:defect
Metriche repository
- Star
- (14.815 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
- I've read and understood the CONTRIBUTING guidelines and have done my best effort to follow.
Report
pod cache list command print incorrect pod path
What did you do?
- run
pod repo add PrivateSpecRepo https://github.com/tripleCC/PrivateSpecRepo.git - run
git clone https://github.com/tripleCC/podTestLibrary.git - run
cd podTestLibrary/Example - run
pod install - run
pod cache list podTestLibrary
What did you expect to happen?
print correct pod path
podTestLibrary:
- Version: 0.1.0
Type: Release
Spec: /Users/songruiwang/Library/Caches/CocoaPods/Pods/Specs/Release/podTestLibrary/0.1.podspec.json
Pod: /Users/songruiwang/Library/Caches/CocoaPods/Pods/Release/podTestLibrary/0.1.0-479bb
What happened instead?
print incorrect pod path
podTestLibrary:
- Version: 0.1.0
Type: Release
Spec: /Users/songruiwang/Library/Caches/CocoaPods/Pods/Specs/Release/podTestLibrary/0.1.podspec.json
Pod: /Users/songruiwang/Library/Caches/CocoaPods/Pods/Release/podTestLibrary/0.1.0-beec6
/Users/songruiwang/Library/Caches/CocoaPods/Pods/Release/podTestLibrary/0.1.0-beec6 directory isn't exist.
run cd /Users/songruiwang/Library/Caches/CocoaPods/Pods/Release/podTestLibrary/0.1.0-beec6 :
cd: no such file or directory: /Users/songruiwang/Library/Caches/CocoaPods/Pods/Release/podTestLibrary/0.1.0-beec6
run ls /Users/songruiwang/Library/Caches/CocoaPods/Pods/Release/podTestLibrary :
0.1.0-479bb
CocoaPods Environment
Stack
CocoaPods : 1.5.3
Ruby : ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin17]
RubyGems : 2.6.14
Host : Mac OS X 10.14.2 (18C54)
Xcode : 10.1 (10B61)
Git : git version 2.17.2 (Apple Git-113)
Ruby lib dir : /Users/songruiwang/.rvm/rubies/ruby-2.4.1/lib
Repositories : 2dfire-cocoapods-spec - git@git.2dfire.net:ios/cocoapods-spec.git @ fa31f0842e458a9dfe9b2acbe23f91da87421fdf
2dfire-cocoapods-spec-binary - git@git.2dfire.net:ios/cocoapods-spec-binary.git @ 2d99f66237c8dff6857caba9f1048e976075d56c
2dfire-ios-cocoapods-spec - http://git.2dfire.net/ios/cocoapods-spec.git @ ec0cef93a7ddf476b9627b5d0cda6c6cf94aba5d
master - https://github.com/CocoaPods/Specs.git @ 2f0c5aa09d8467f048a80b92e972e465fbc30084
private - git@git.2dfire.net:qingmu/cocoapods-spec.git @ 70bc386f7cd16f51f6d1dc901ca964fbbabea718
private-binary - git@git.2dfire.net:qingmu/binary-cocoapods-spec.git @ b5240723ac6bf6a5413fae565dbfb492861e5d13
PrivateSpecRepo - https://github.com/tripleCC/PrivateSpecRepo.git @ efa5034567bc2edf9a68314d9934dba8261823bc
Installation Source
Executable Path: /Users/songruiwang/.rvm/gems/ruby-2.4.1/bin/pod
Plugins
claide-plugins : 0.9.2
cocoapods-bin : 0.0.8
cocoapods-deintegrate : 1.0.2
cocoapods-dependencies : 1.0.0.beta.1
cocoapods-external-pod-sorter : 0.0.2
cocoapods-open : 0.0.8
cocoapods-packager : 1.5.0
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.0.0
cocoapods-tdfire-binary : 2.0.3
cocoapods-trunk : 1.3.1
cocoapods-try : 1.1.0
cocoapods_debug : 0.1.0
Project that demonstrates the issue
sample project link https://github.com/tripleCC/podTestLibrary.git