git - Getting The repo `my-ios-pod-spec` at `.......cocoapodsreposmy-ios-pod-spec` is not clean - Stack Overflow

admin2025-04-17  3

I'm getting this error when I'm attempting to push to the specs repo and not sure what the problem is

The repo `my-ios-pod-spec` at `../../../.cocoapods/repos/my-ios-pod-spec` is not clean

I'm getting this error when I'm attempting to push to the specs repo and not sure what the problem is

The repo `my-ios-pod-spec` at `../../../.cocoapods/repos/my-ios-pod-spec` is not clean
Share Improve this question asked Jan 30 at 19:41 mfaanimfaani 36.6k19 gold badges192 silver badges321 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Turns out the specs repo had some git status. I checked that with:

  1. pod repo list
  2. finding the path to the repo and changing my directory to it
  3. running git status

Not sure why but I somehow had a DS_Store file. I cleaned up my file status and the problem went away!

See docs on the function from GH from here

转载请注明原文地址:http://anycun.com/QandA/1744894438a89131.html