/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_si

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/27393822/
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 06:20:40  来源:igfitidea点击:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim is not owned by root

iosxcodepermissions

提问by Aung Aung

Xcode 6.1 got the error after installation of component have done. Xcode installer is the copy from other mac. Pls help me how to solve dyld_sim error.... Thanks

Xcode 6.1 组件安装完成后出现错误。Xcode 安装程序是其他 mac 的副本。请帮助我如何解决 dyld_sim 错误....谢谢

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim is not owned by root.

回答by mizerablebr

I used this command on terminal:

我在终端上使用了这个命令:

sudo chown root /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim

This command change the ownership of the file dyld_sim to the root.

此命令将文件 dyld_sim 的所有权更改为根。

回答by Umar Farooq

I have same problem after little research i found the solution,

经过很少的研究,我遇到了同样的问题,我找到了解决方案,

type following command in terminal:

在终端中输入以下命令:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

须藤 xcode-select -switch /Applications/Xcode.app/Contents/Developer

enter image description here

在此处输入图片说明

Enjoy two versions for Xcode Happy Programming :)

享受 Xcode 快乐编程的两个版本:)

回答by dispatchMain

Tap on quit and restart the Xcode again and it will open fine. Just had exact same problem and on restart, Xcode opened and worked fine.

点击退出并再次重新启动 Xcode,它将正常打开。刚刚遇到完全相同的问题,重新启动时,Xcode 打开并运行良好。

回答by Shekhar Gupta

Run following command in Terminal

终端中运行以下命令

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer