“文件“MyApp.app"无法打开,因为您无权查看它"在 Xcode 6 Beta 4 中运行应用程序时 [英] "The file "MyApp.app" couldn't be opened because you don't have permission to view it" when running app in Xcode 6 Beta 4

查看:39
本文介绍了“文件“MyApp.app"无法打开,因为您无权查看它"在 Xcode 6 Beta 4 中运行应用程序时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试在 Xcode 6 Beta 4 中运行我的应用程序时,我都会收到错误消息:

Whenever I try to run my app in Xcode 6 Beta 4 I am getting the error:

The file "MyApp.app" couldn't be opened because you don't have permission to view it.

无论我的目标是什么模拟器或设备,都会出现此错误.

This error appears no matter what simulator or device I target.

我试过了:

  • 在 Xcode 中从管理器中删除所有派生数据
  • 修复我的驱动器上的权限
  • 手动提升构建的 MyApp.app 的权限
  • 重新启动我的计算机

有没有其他人遇到过这个问题并找到了解决方案?

Has anyone else run into this problem and found a solution?

推荐答案

我使用 Xcode6 GM.我遇到了同样的问题.我所做的是转到构建设置-> 构建选项.然后我将C/C++/Objective-C 编译器"的值更改为默认编译器.

I use Xcode6 GM. I encountered the same problem. What I did was to go to Build Settings -> Build Options. Then I changed the value of the "Compiler for C/C++/Objective-C" to Default Compiler.

这篇关于“文件“MyApp.app"无法打开,因为您无权查看它"在 Xcode 6 Beta 4 中运行应用程序时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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