so I used Venmo/Synx on my Xcode project with CocoaPods, and it completely screwed everything up.
I was able to fix the Manifest.lock and Podfile.lock errors, but now I am getting this error:
The file “Pods.debug.xcconfig” couldn’t be opened because there is no such file. (/Users/user/GitHub/xxxxxx/Pods/Pods/Target Support Files/Pods/Pods.debug.xcconfig)
As you can see, the path is incorrect, as there is no Pods/Pods
directory (there is one extra pod).
How can I fix this? I have only added PODS_ROOT
to the user-defined variable, as that fixed my Podfile and Manifest.lock files.
Any help would be much appreciated!
Edit:
After adding PODS_ROOT, I get this when running pod install
.
[!] The `Project [Debug]` target overrides the `PODS_ROOT` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
pod install
again may fix this issue. – Keith Smileypod update
too, to no avail. Just can't nail this issue. – mais-ouiPods
should be excluded from the synx as well: github.com/venmo/synx/blob/master/lib/synx/project.rb#L10 – Keith Smileysynx
it removes all the images, so I just ran pod install again, which gave me all the errors. I fixed it by adding PODS_ROOT to get rid of the Podfile.lock and the Manifest.lock error. Now I'm getting this error :/ – mais-oui