After I update IOS in my ionic3 project, I did like this my stackoverflow answer, then when I want to running in my device by xcode, showing this error for me.
error
Still don't know why, I just restart my MAC, then error solved.
Reference: Install on Device give Error : Command /usr/bin/codesign failed with exit code 1