Я пытаюсь использовать частные репозитории, чтобы разбить большее приложение. Я следил за гидами по адресу:
- http://www.objectpartners.com/2014/06/25/developing-private-in-house-libraries-with-cocoapods/
- http://guides.cocoapods.org/making/private-cocoapods.html
- Как добавить частный CocoaPod как зависимость в другом pod.podspec (аналогичная, но другая проблема).
Я создал локальный репозиторий, содержащий спецификации, опубликованные в cocoapods через
pod remote add MySpecs ~/local/path/to/MySpecs.git
,
подтвердил, что cocoapods видит их, просматривая содержимое ~/.cocoapods/repos/MySpecs
Я ссылался на PrivateSpec
внутри PrivateClientSpec
следующим образом:
s.dependency 'PrivateSpec' '~> 0.1.0'
Проблема в том, что, когда я пытаюсь использовать эту PrivateClientSpec
, я получаю титульную ошибку:
Unable to find a specification for [PrivateSpec] depended upon by [PrivateClientSpec]
Я что-то упустил? Насколько я понимаю, это поддерживается поведение. Я использую cocoapods v0.35.
Спасибо!