Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File couldn't be opened because you don't have permission

Tags:

ios

xcode6

I keep getting the error:

The file "Blah" couldn't be opened because you do not have permission to view it. 

I tried the top 5 answers in this question -

"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

But they do not work.

Note: I deleted the debug and release from the Test in the Build Settings and cleared the derived data multiple times.

enter image description here

info.plist

enter image description here

like image 383
PHP Web Dev 101 Avatar asked Sep 07 '15 20:09

PHP Web Dev 101


People also ask

How to fix “JPG file couldn't be opened because permission not allowed” error?

Once you scan the disk for any unwanted problem, you can fix the "JPG file couldn't be opened because you don't have permission to view it" error as well. Here's how you can do it. If your Mac is already turned on, then you need to restart it first. While Mac is getting started, press and hold the Command and "R" keys.

Why can't I open the file “Blah”?

13 1 I keep getting the error: The file "Blah" couldn't be opened because you do not have permission to view it. I tried the top 5 answers in this question - "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 But they do not work.

Why can't I open the file MyApp?

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. Has anyone else run into this problem and found a solution?

Why can’t I open a preview file in Yosemite?

This is a re-emergence of a problem people were having in 2014 with Yosemite (see this link for that thread: Preview issues..."couldn’t be opened because you don’t have permission to view it."


1 Answers

Go to Build Settings -> Build Options. Then change the value of the "Compiler for C/C++/Objective-C" to Default Compiler.

like image 118
smohn Avatar answered Sep 21 '22 20:09

smohn