Cocoapods Private Spec Repo over HTTP/S3

人盡茶涼 提交于 2019-12-12 03:16:32

问题


We are looking at implementing a private specs repo for our commercial libraries, to be shared with external customers (i.e. it's a 'semi' private spec repo).

Is there currently a way to use HTTP (or more specifically S3) to host a spec repo? We don't have a public git repo (and due to it being a licensed product, putting it onto GitHub isn't really an option unfortunately).

There are some guides around pushing a git repo to S3, which looks promising, but it would be great to have native support in Cocoapods for using a HTTP specs repo.

Another alternative might be to supply the Podspec separately which points to a http source for the sdk download.

Is the git-repo-on-s3 route currently the only way to create such a spec repo?


回答1:


CocoaPods spec-repos are just interacted with by using the normal git tools, so as long as those work with the S3 solution it shouldn’t be a problem.

Did you try it and run into a problem?



来源:https://stackoverflow.com/questions/28082172/cocoapods-private-spec-repo-over-http-s3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!