I faced the problem the duplicate symbols for architecture arm64. I searched the "stackoverflow.com" and I did some ways. But, same situation.
First, I removed all files Users/dongki/Library/Developer/Xcode/DerivedData.
Second, removed Build Phases -> compile source. But, this is not good ways to solve my problem.
How can I deal with the error?