无法打开文件"***.app",因为您没有查看权限 [英] The file “***.app” couldn’t be opened because you don’t have permission to view it
问题描述
在XCode 6.3&中运行带有快速代码的项目时XCode 7,出现此错误:
While running my project with swift code in XCode 6.3 & XCode 7, I got this error:
由于您没有"***.app"文件,因此无法打开 有权查看
The file "***.app" couldn’t be opened because you don’t have permission to view it
我的应用程序不再启动. 我检查了编译器设置是否正确. 可执行名称捆绑包名称也正确.
My app is not launching anymore. I checked if the compiler setting is right. Executable name & bundle name is also proper.
几次清理了项目,也删除了XCtest目标.
Cleaned the project couple of times, removed the XCtest target as well.
推荐答案
有时这可能是由于Info.plist
文件中的错误损坏引起的.尝试在Xcode
中创建一个具有相同名称的新项目,然后用新的项目替换当前的项目Info.plist
.
This can sometimes be because of a corrupted error in your Info.plist
file. Try to create a new project with the same name in Xcode
and then replaced the your current projects Info.plist
with the new one.
这篇关于无法打开文件"***.app",因为您没有查看权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!