Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git方式的组件 执行install命令后组件为空 #205

Open
ticsmatic opened this issue Apr 14, 2022 · 2 comments
Open

git方式的组件 执行install命令后组件为空 #205

ticsmatic opened this issue Apr 14, 2022 · 2 comments

Comments

@ticsmatic
Copy link

ticsmatic commented Apr 14, 2022

podfile中某个组件使用 :git => :tag => 的方式设置,执行bin auto后能生成二进制成功。但是执行bin update时,发现项目下此组件文件夹目录为空,如图
截屏2022-04-14 15 56 04

环境:

Stack

   CocoaPods : 1.10.2
        Ruby : ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-darwin21]
    RubyGems : 3.1.6
        Host : macOS 12.3.1 (21E258)
       Xcode : 13.3 (13E113)
         Git : git version 2.32.0 (Apple Git-132)
Ruby lib dir : /Users/xxx/.rvm/rubies/ruby-2.7.5/lib
               cocoapods - git - https://github.com/CocoaPods/Specs.git @ acbbfe89961bf785a8dbbae7feaefda78bfc2fcd
               trunk - CDN - https://cdn.cocoapods.org/
               私有repo

Installation Source

Executable Path: /Users/xxx/.rvm/gems/ruby-2.7.5/bin/pod

Plugins

cocoapods-deintegrate                 : 1.0.5
cocoapods-disable-podfile-validations : 0.1.1
cocoapods-imy-bin                     : 0.3.1.3
cocoapods-plugins                     : 1.0.0
cocoapods-search                      : 1.0.1
cocoapods-trunk                       : 1.6.0
cocoapods-try                         : 1.2.0
@wolimomomo
Copy link

wolimomomo commented Apr 18, 2022

我发现安装可能回出现空的问题,是cocoapods的缓存导致的,删除缓存就好:pod cache list 查找到对应的缓存,pod cache clean AFNetworking 删除某个库 或 pod cache clean --all删除所有的缓存

@ticsmatic
Copy link
Author

我发现安装可能回出现空的问题,是cocoapods的缓存导致的,删除缓存就好:pod cache list 查找到对应的缓存,pod cache clean AFNetworking 删除某个库 或 pod cache clean --all删除所有的缓存

我尝试清了缓存,也不行,组件目录还是空,你用tag方式的引入是可以的么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants