, więc użyłem Venmo/Synx w moim projekcie Xcode z CocoaPods, i to całkowicie wszystko spieprzyło.Niepoprawna ścieżka dla pliku Pods.debug.xcconfig w Xcode?
udało mi się naprawić błędy Manifest.lock i Podfile.lock, ale teraz jestem coraz to błąd:
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)
Jak widać, ścieżka jest nieprawidłowa, ponieważ nie ma katalogu Pods/Pods
(jest jedna dodatkowa kapsuła).
Jak mogę to naprawić? Dodałem tylko PODS_ROOT
do zmiennej zdefiniowanej przez użytkownika, ponieważ to naprawiło moje pliki Podfile i Manifest.lock.
Każda pomoc będzie bardzo ceniona!
Edit:
Po dodaniu PODS_ROOT, mam to po uruchomieniu 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.
Samo uruchomienie 'pod install' może rozwiązać ten problem. –
@KeithSmiley Próbowałem już wiele razy, w tym usuwając wszystkie ślady CocoaPods, a następnie ponownie dodając. Próbowałem też "pod aktualizacji", bezskutecznie. Po prostu nie uda się rozwiązać problemu. –
'Pods' powinien być również wyłączony z synx: https: // github.com/venmo/synx/blob/master/lib/synx/project.rb # L10 –