0
votes

i have this error when i want to build my iOS App in Swift 2 and Xcode 7.0, i tried pretty much everything (clean, rebuild, delete derived date, ..)even re-install xcode but nothing has worked...

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

Thanks!!

RESOLVED: I re-import all my files and my framework then the issue has disappear.

3
Could you provide some code? (i.e. from your project) - Arc676
Possible duplicate of GM release of Xcode 6 compile - Adrian
Yes of course Arc676 but which kind? The project has a tons of code and i got this error only in xcode 7.1 ... didn't get this error when i was under 7.0 - AndrewBr

3 Answers

0
votes

Try to delete manually DerivedData folder and restart Xcode

Users/%User%/Library/Developer/Xcode/DerivedData

0
votes

Try Clean and rebuild, also delete derived data too.

0
votes
  • Delete DerivedData folder from window -> projects -> select delete on DerivedData
  • Clean Your Project.
  • Rebuild