duplicate symbols for architecture arm64 after Xcode 8.0 update

前端 未结 10 1434
再見小時候
再見小時候 2020-12-31 08:46

I get duplicate symbols error after I updated my Xcode. (find the code down) Does anybody get this too? And how could be solved?

I tried to remove

10条回答
  •  粉色の甜心
    2020-12-31 09:04

    These are the steps that I took to resolve this issue:

    1. Select the first duplicated compiled source … Search for something in the error message like: CDVWKWebViewEngine or EventSliderCell.o in your case;
    2. Select your project in XCODE (top left) then select Build Phases;
    3. In the filter text field enter the compile source that has been reported as duplicated (e.g. CDVWKWebViewEngine);
    4. You should receive at least 2 results for that source - one in cordova-plugin-ionic-… and another in cordova-plugin-wkwebview-...;
    5. Select the cordova-plugin-wkwebview-… one and click on the “-“ sign (bottom left);
    6. Now try to build again and do this for all the compile sources that are duplicated.

提交回复
热议问题