-4

I have this strange error if I try to start my app with swift and Xcode 8.3.1

[![Command /var/folders/q8/xsjb69r543qf8j755tfbz7_c0000gs/T/AppTranslocation/883968BB-E85A-4535-8FFC-0B6547D83C04/d/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1][1]][1]

enter image description here

bircastri
  • 2,459
  • 9
  • 45
  • 109

2 Answers2

1

Clear the /Users/<user>/Library/Developer/Xcode/DerivedData and clean + build your project.

Vyacheslav
  • 25,010
  • 18
  • 105
  • 188
  • open it in Finder and simply remove all subfolders. or move into trash – Vyacheslav Apr 20 '17 at 11:05
  • I'm trying to do this but not works. I have move to trash all subfolders. Then I have clean and build my project, but when I try to build my project I received the some error – bircastri Apr 20 '17 at 11:13
0

Delete derived data or create a new app and copy/paste. Here is how you delete your derived data:

How to delete derived data in Xcode 8?

Community
  • 1
  • 1
Andy Lebowitz
  • 1,401
  • 2
  • 14
  • 23