Podfile.lock is missing from the working copy

I recently started this problem after trying to use the pod update command in my project. After successfully updating the modules, xcode now gives me the following error:

"podfile.lock is missing from the working copy"

Now I tried to clean the assembly, remove the derived data, update cocoapods, but this does not seem to fix the problem. When I look in the commit window, the file does not exist in the local version.

Does anyone know a sorting method?

+6
source share
2 answers

I had the same problem. In my case, in the commit window, the files Podfile.lock (!) And Manifest.lock (?) Were not marked, as shown below,

Subfile .lock (!)

Manifest.lock (?)

The contents of the Podfile.lock (!) File are displayed in the Manifest.lock (?) File. I checked both and then clicked on my repository. Subsequently, the warning disappeared, and I had no problems with Pod. Hope you can solve your problem by doing the same.

+5
source

Let me c. This is a really general question. The reason is because your project uses git / svn for the manager. And you change your coding without committing. That way, you just submit your project. And you will find that the warning disappears.

thanks

0
source

All Articles