Upload to the Arduino M0 Pro fails, and so does debugging.
I have the same error message with the Arduino IDE, so the issue isn't specific to embedXcode.
It seems the boot loader needs to be uploaded again.
As possible solutions, see
- Topic: [SOLVED] Cannot upload sketch on native or programming port, and
- Error Uploading on Arduino M0 Pro board #428.