1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

The file “MyApp.app” couldn’t be opened because you don’t have permission to view it”

Posted at

デバッグしていて思い出したのでメモ

#1 Derived Dataを消す
ググると一番多く出てくる解決策
こちらを参考に実行
swift - "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 - Stack Overflow
http://stackoverflow.com/questions/24924809/the-file-myapp-app-couldnt-be-opened-because-you-dont-have-permission-to-vi

でも動かなかった(´・ω・`)

#2 Build PhasesのCompile Sourcesにmain.mファイルを追加
これで解決
その他の必要な.mファイルも消えている可能性があるのでチェック
qiita01.png

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?