Xcode CI和cocoapods私人仓库 [英] Xcode CI and cocoapods private repo
问题描述
我一直在尝试设置OSX服务器以使用Xcode CI。我的项目使用cocoapods和一个私人回购。我一直在遵循本教程: http://papaanton.com/setting-up-xcode-6-and-apple-server-4-0-for-continues-integration-with-cocoapods/
I've been trying to setup OSX server to use Xcode CI. My project uses cocoapods and a private repo. I've been following this tutorial: http://papaanton.com/setting-up-xcode-6-and-apple-server-4-0-for-continues-integration-with-cocoapods/
但是当我以_xcsbuildd用户身份登录并运行命令添加私有仓库时,我得到以下错误消息
But when I login as the _xcsbuildd user and run the command to add the private repo I get the following error message
fatal: could not create work tree dir '<repo name>': permission denied
我没有太多的用户和命令行工具的经验。我在网上看到很多评论,说人们需要改变权限才能让它工作。但我不知道我需要改变和在哪里。
I don't have much experience with users and command line tools. I've seen many comments online saying people need to change permissions to get it to work. But I have no idea what I need to change and where.
任何人都可以告诉我在哪里/什么/我需要修改,以给这个用户访问完成这个过程。
Can anyone tell me where / what / how I need to modify to give this user access to complete this process.
推荐答案
刚才找到答案。不知道哪里的cocoapods存储这些repos。我打开finder。 Cmd + shift + g
Just found the answer. Had no idea where cocoapods was storing these repos. I opened finder. Cmd + shift + g
键入〜/ .cocoapods / repos
右键单击repos文件夹,并给everyoneread&写访问文件夹。现在好了,CI工作完全了
right click on the repos folder and give "everyone" read & write access to the folder. All good now, CI working completely
这篇关于Xcode CI和cocoapods私人仓库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!