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

18,627

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

Share:
18,627
Michael Yang
Author by

Michael Yang

Android Developer

Updated on June 16, 2022

Comments

  • Michael Yang
    Michael Yang about 2 years

    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.