Mac OSX在构建MonoDevelop iOS App时要求钥匙串访问 [英] Mac OSX asking for keychain access when building MonoDevelop iOS App

查看:78
本文介绍了Mac OSX在构建MonoDevelop iOS App时要求钥匙串访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Mac上的MonoDevelop中构建项目时,出现消息"MAC OS X要进行更改.输入管理员的名称和密码以允许这样做.MACOSX要使用系统钥匙串."

When building projects in MonoDevelop on the Mac, I get the message "MAC OS X wants to make changes.Type an administrator's name and password to allow this. MAC OSX wants to use system keychain."

我找到了帖子 Mac OS X希望在编译项目时使用系统钥匙串 但这并不能完全解决我的问题.我安装的配置文件是通过XCode完成的,并且是我在Provisioning Profile上的当前/有效配置文件,因此我认为它们是可以的-XCode报告它们是有效的.

I found the post Mac OS X wants to use system keychain when compiling the project but this doesn't quite answer my problem. The profiles I installed were done via XCode and are my current/valid profiles on the Provisioning Profile so I assume these are Ok - XCode reports they're valid.

我已经将开发环境从Macbook(编译应用程序运行正常,没有此错误)移动到另一台Mac,并且这已经开始出现.如果输入我的用户名/密码,它将编译并正常工作.

I've moved my dev environment from a Macbook (where compiling apps worked fine, without this error) to another Mac and this has started appearing. If I enter my username/password it compiles and works.

有任何想法为什么会发生这种情况?

Any ideas why this is happening?

(我想知道可能会引起问题的一件事……当我在Macbook上最初设置dev env时,我以Jonny WIlson.p12的身份导出/备份了证书.但是,在新Mac上,我无法t导入此文件.我尝试将其重新导出并再次导入,但这也失败了.此INITIAL证书(用于在Provisioning Profile中生成您的开发/发行证书)是否是使其正常工作的重要组成部分?因为一旦获得Apple证书,我就会在论坛上阅读,因此不再需要此密钥吗?对吗?)

(One thing which I wonder may be causing a problem... when I ORIGINALLY setup the dev env on my Macbook, I exported/backed up my certificate as Jonny WIlson.p12. On my new Mac however, I couldn't import this. I tried re-exporting it and importing it again, this too failed. Is this INITIAL certificate (used to generate your development/distribution certificated in the Provisioning Profile) a vital part of getting this working? I'm asking this because I read in a forum once you have your Apple certs, this key is no longer needed? Is this correct?)

推荐答案

就我而言,我去了Keychain Access,在"Keychains"(左上方)中选择了"system". 然后针对每个项目:右键单击获取信息",访问控制",并在始终允许这些应用程序访问"列表中添加Xcode.

In my case I went to Keychain Access, selected "system" in "Keychains" (top left). Then for each item: right click, "Get Info", "Access Control" and added Xcode in "Always allow acces by these applications:" list.

(我没有使用MonoDevelop,但猜测问题原因相似)

(I'm not using MonoDevelop, but guess the problem reason is similar)

这篇关于Mac OSX在构建MonoDevelop iOS App时要求钥匙串访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆