Error: Task failed with exit 1 signal 0 .... libswiftCore.dylib xcode 9. 1 Swift 4


Error. I do not know how to address the problem. Please can someone advise? I can build the app on the simulator but not on the device iphone.
First Solution

Try to reset/ delete the derived Data
rm -rf /Users/johnDow/Library/Developer/Xcode/DerivedData/*
If that doesn't work I had to re install xcode AND restart computer to fix it
Second Solution
  1. Close Xcode.
  2. Open Key Chain.
  3. Find the iOS Developer cert in Local.
  4. Drag and drop the cert from Local to the System tab.
  5. Enter admin password when prompted.
  6. Start Xcode and build project for your device.
Solution above work for me


This my note as my problem and solution @luffyselah

No comments: