Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode : */swiftc failed with exit code 11, what can I do?

I downloaded Xcode 7 beta 5, and I tried to compile my project with Xcode 7, and it worked. So, after that, I used Xcode 7 to develop my application, but now, I want to back to Xcode 6 but when I try to build my project, I have this issue :

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 11

Screenshot for error

What can I do to resolve that ?

like image 613
testa abalez Avatar asked Aug 24 '15 07:08

testa abalez


People also ask

Why does my swiftc code fail with exit code 1?

Then, open a bug report. The swiftc failed with exit code 1 message indicates that the compiler crashed due to an internal problem. In my experience, that may or may not indicate that there's some type of syntax error with your code (although what you posted looks fine to me), but either way, the compiler can't handle it as you have it written.

What does “command phasescriptexecution failed with a nonzero exit code” mean?

The Xcode 11 error notice “Command PhaseScriptExecution failed with a nonzero exit code” can be problematic for developers. This could indicate that an application or script is not functioning properly. To troubleshoot the problem, some potential remedies can be tried. In your Terminal app, navigate to the Xcode project folder.

Is there a fix for Run button not working in Xcode?

No fix yet other than to remotely log into the machine and push the button in Xcode. Please let know if you are in fact using Flutter and if clicking the run button in Xocde fixed your issue also, because then it confirms to me that there are at least 3 people with the exact same issue so far.

What is the use of Xcode?

Xcode is an integrated development environment (IDE) and code editor developed by Apple to assist developers in the development of Apple products, including mobile applications for iOS and desktop applications for macOS.


1 Answers

With the same error when compile wikipedia-ios 5.0.

Clean the project, then recompile, it works for me.

like image 120
ngn999 Avatar answered Sep 18 '22 11:09

ngn999