Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode error: failed to launch

Tags:

xcode

icloud

I have a Mac app I have written to support iCloud. However, I get this when trying to run the app:

error: failed to launch /Users/padsoftware/Library/Developer/Xcode/DerivedData/Scrawl-heofvoywsunchdhjowxkvkoiqvan/Build/Products/Release/Scrawl.app/Contents/MacOS/Scrawl

The odd thing is that this appears for all of my Mac apps, with or without iCloud, with or without sandboxing, with or without entitlements, or ever with or without code signing. Any idea on how to fix this?

like image 228
user1103804 Avatar asked Dec 17 '11 19:12

user1103804


People also ask

How do I start Xcode on my Mac?

From Finder - select the Go menu and select Utilities Open Activity Monitor Type Xcode in the search field. You should now be able to tell if the program has launched or perhaps has quit itself already. To the left of the search box, you can find several filters to limit the processes that are shown.


1 Answers

I had this problem too. For me, it was a code sign issue. Make sure you're signing with developer, not distribution.

like image 193
Andy Avatar answered Sep 27 '22 18:09

Andy