我正在设置Artifactory cocoapods,用于我们在Jenkins的Enterprise Fastlane版本中。我设置了3个存储库:pods-local,pods-approved和pods-remote。我将一个简单的内部pod部署到pods-local repo。这个工作正常,直到我再添加3个CocoaPods。没有找到这些新的CocoaPods。我收到此错误:“无法找到规范”。试图从互联网上的信息修复它,我从詹金斯奴隶删除了回购并开始新鲜。这是我用来删除回购的命令:“sudo rm -R~ / .cocoapods / repos”和repos-art。我重新安装了所有的回购,现在甚至没有找到简单的内部pod。
这些是我得到的错误: - “repo不是git repo。” - “无法找到”
的规范我已经在网上看过并尝试过一些修复工具,但没有工作......包括删除并重新创建回购,pod设置,git reset --hard等等。
请参阅以下错误。
感谢您的帮助。
/Users/jenkinsci/.cocoapods/repos-art/pods-local/.artpodrc
/Users/jenkinsci/.cocoapods/repos-art/pods-local/.artpodrc
Updating local specs repositories
/Users/jenkinsci/.cocoapods/repos-art/pods-local/.artpodrc
fatal: Cannot change to '/Users/jenkinsci/.cocoapods/repos/pods-local': No such file or directory
[!] The `pods-local` repo is not a git repo.
[11:42:48]: [32mDriving the lane 'ios beta' [0m
[11:42:48]: [32m-----------------------[0m
[11:42:48]: [32m--- Step: cocoapods ---[0m
[11:42:48]: [32m-----------------------[0m
[11:42:48]: [4m[36m$ bundle exec pod install[0m[0m
[11:42:50]: ▸ [35m/Users/jenkinsci/.cocoapods/repos-art/pods-local/.artpodrc[0m
[11:42:50]: ▸ [35m/Users/jenkinsci/.cocoapods/repos-art/pods-local/.artpodrc[0m
[11:42:50]: ▸ [35mAnalyzing dependencies[0m
[11:42:50]: ▸ [35m/Users/jenkinsci/.cocoapods/repos-art/pods-local/.artpodrc[0m
[11:42:50]: ▸ [35m[!] Unable to find a specification for `APod`[0m