AndrewBr
AndrewBr

Reputation: 67

Swift 2 - Xcode 7 - failed with exit code 1

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.

Upvotes: 0

Views: 594

Answers (3)

Islam.Ibrahim
Islam.Ibrahim

Reputation: 889

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

Upvotes: 0

Vineeth Vijayan
Vineeth Vijayan

Reputation: 1329

Try Clean and rebuild, also delete derived data too.

Upvotes: 0

Igor
Igor

Reputation: 1557

Try to delete manually DerivedData folder and restart Xcode

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

Upvotes: 0

Related Questions