Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve 'duplicate symbols for architecture arm64' error?

When I try running my Xcode Project it fails with an error stating that I have duplicate symbols. Below is the way I sovled this error. Hope to help you~

The error info: Error Info from Xcode

From the error info I found that WPBuySkinAlertView maybe the duplicate class.So I seach the file in the project.

Duplicate file

There are two WPBuySkinAlertView files in the project.

So, next time when you come with this error, check your project according to the error info, find the duplicate classes and remove the one.

like image 893
Michael Yang Avatar asked May 04 '17 07:05

Michael Yang


1 Answers

Select Proiect ===> Target ===> Build phase ==> Compile source search WPBuySkinAlertView this name you will see 2 file in search result remove one from them

like image 92
Jignesh Mayani Avatar answered Sep 22 '22 12:09

Jignesh Mayani