Apple Mach -O Linker command failed

前端 未结 16 1367
名媛妹妹
名媛妹妹 2021-01-07 17:08

After updating my POD install, Xcode sprouted a new issue:

16条回答
  •  暖寄归人
    2021-01-07 17:42

    I have no clue why the error occurred in my case, I was reusing some code from another project I created a while ago and after I adapted the code, then I always got the "Apple Mach -O Linker command failed"- Message. My best guess is, that it happened because I created/deleted some files from the project.

    The thing that solved it for me was this:

    • Create a new Project
    • copy all the necessary files from the old project to the new one (Drag and Drop, don't forget the "Copy if needed" Checkbox)
    • Build and see that it works

    Sounds stupid and I have no idea why, but it worked.

提交回复
热议问题