Xamarin Studio 错误:找不到有效的 Xcode 安装

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16038683/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 03:13:48  来源:igfitidea点击:

Xamarin Studio Error: A valid Xcode installation could not be found

xcodexamarin

提问by duDE

I updated Xcode this morning (version 4.6.2) and right now, I cannot compile my projects.

我今天早上更新了 Xcode(版本 4.6.2),现在我无法编译我的项目。

Error: A valid Xcode installation could not be found. If your copy of Xcode is installed to a non-standard prefix, please specify the location in Xamarin Studio's Preferences under 'SDK Locations'

错误:找不到有效的 Xcode 安装。如果您的 Xcode 副本安装到非标准前缀,请在“SDK 位置”下的 Xamarin Studio 首选项中指定位置

I checked that SDK Locations are good but still same problem.

我检查了 SDK Locations 是好的,但仍然是同样的问题。

Any ideas to solve this problem ? Xamarin Studio 4.0.3 (Build 13)

任何想法来解决这个问题?Xamarin Studio 4.0.3(内部版本 13)

采纳答案by duDE

OK, it seems to be the Bug of Xcode 4.6.2: http://forums.xamarin.com/discussion/comment/10620/#Comment_10620

好吧,看来是Xcode 4.6.2的Bug:http: //forums.xamarin.com/discussion/comment/10620/#Comment_10620

There is a known issue with Xcode 4.6.2, we would recommend that you re-download Xcode 4.6.1 and continue using that until we get a fix out for Xamarin Studio. You can re-download Xcode 4.6.1 from https://developer.apple.com/downloads/index.action

Xcode 4.6.2 存在一个已知问题,我们建议您重新下载 Xcode 4.6.1 并继续使用它,直到我们为 Xamarin Studio 找到修复程序。您可以从https://developer.apple.com/downloads/index.action重新下载 Xcode 4.6.1

The only one way is to go back to 4.6.1 :(

唯一的方法是回到 4.6.1 :(

回答by Alessandro Martin

Xamarin Studio 4.0.4 released, fixes incompatibility with Xcode 4.6.2

Xamarin Studio 4.0.4 发布,修复了与 Xcode 4.6.2 的不兼容问题

回答by daniherculano

I have the same problem. Is a bug and you need download 4.6.1 from https://developer.apple.com/downloads

我也有同样的问题。是一个错误,您需要从https://developer.apple.com/downloads下载 4.6.1

You just need to be registered as Apple developer and will find previous version on Developer Tools

您只需要注册为 Apple 开发者,即可在开发者工具中找到以前的版本

回答by Netbus

Do you have to have a paid developeraccount to get the 4.6.1 version of xcode from apple? I only have the free account and I haven't found it on the apple hp.

是否必须有付费的开发者帐户才能从苹果获得 4.6.1 版本的 xcode?我只有免费账号,在apple hp上没找到。

Edit: A Screenshot from my downloadssection on the apple hp:No Xcode 4.6.1!!

编辑:我在苹果 hp 上的下载部分的屏幕截图:没有 Xcode 4.6.1!!