Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
226 views
in Technique[技术] by (71.8m points)

ios - Do all developers require access to private cocoapod repo (not private podspec)?

While creating a private pod, we need to create two repo. One for storing the podspec and other where our actual sharable code stays. Does a developer need to have access to both of the repositories. If not, how is someone with no access to my private repository able to use the pod?

question from:https://stackoverflow.com/questions/65848531/do-all-developers-require-access-to-private-cocoapod-repo-not-private-podspec

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Podspecs are usually in the same repo for source distributions, but they don't have to be. Either way, the pod clients need access to both.

For binary distributions, the binary needs to be accessible but the code can bee anywhere.

More details in https://guides.cocoapods.org/making/private-cocoapods.html


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...