Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3

前端 未结 25 1216
一生所求
一生所求 2020-11-28 04:28

I can\'t get rid of this error!

I have tried all sorts of things like clearing Derived Data(Preferences->Locations->click gray arrow to open Derived Data fo

25条回答
  •  时光取名叫无心
    2020-11-28 04:48

    Here is my problem and solution:

    I removed two files from the source code using source tree(Version controller). After applying the diff, that contains the two classes I removed, Xcode didn't add it automatically. So I got linker error.

    I manually added the files, by right click on group name and select "Add files to ". Now my error got resolved.

    If anyone faced the linker error regarding class file, then try to add it manually.

提交回复
热议问题