I am working on a sketch plugin project with xcode. A sketch plugin can be understood as a framework bundle. In the scheme of my project, i set the Execatable to Sketch.app ,and i also checed the Debug executable box. When i run my project, i got Message from debugger: unable to attach
from the console and the Sketch.app cannot be opened. But when the Debug executable box is not checked, my project worked. But without the Debug executable be checked, i cannot debug my code.
Can someone help me out ?
The xcode version is 10.1 and the my mac version is 10.14.6.
enter image description here
Asked
Active
Viewed 922 times
0

Vadim Kotov
- 8,084
- 8
- 48
- 62

Wang.Ying
- 11
- 2
2 Answers
2
- Quit Xcode
- Open the Terminal.app
rm -rf ~/Library/Developer/Xcode
- I can Xcode debugging

chakiralu
- 21
- 2
-
Thank you! I spent 2 hours on this and this fixed it. – Majid Feb 17 '21 at 14:59
0
Please check this solution
1. Check if all frameworks are loaded successfully
2. File Menu -> Project Settings -> "Legacy Build System".
3. Product -> Scheme -> Edit Scheme... -> Run -> Info -> Launch = Automatically

Viktor Varsano
- 110
- 1
- 1
- 10
-
"Standard Build System" ? Do you mean "Legacy Build System" ? Mine is "Legacy Build System" – Wang.Ying Nov 20 '19 at 10:33
-