Xcode 10 Beta 5 — clang: error: linker command failed with exit code 1

前端 未结 4 1264
面向向阳花
面向向阳花 2021-02-08 12:23

Can anybody help me out? Everything worked fine on my project but after updating to Xcode10 Beta5 I\'m getting this error when trying to run the App on my iPhone. Simulator howe

相关标签:
4条回答
  • 2021-02-08 13:08

    Finding -l"stdc++.6.0.9" in the "Other Linker Flags" and removing it and adding libc++.1.tbd in the "Link Binary With Libraries" fixed this for me

    0 讨论(0)
  • 2021-02-08 13:09

    "libstdc++.6.0.9.tbd" is deprecated in iOS 12. In order to solve this, try to go to your

    App Targets - General -> Linked Frameworks and Libraries -> Find libstdc++.6.0.9.tbd and delete it.

    Then I added "libc++.tbd" and now you will be able to compile your project. Hope It helps.

    0 讨论(0)
  • 2021-02-08 13:09

    Ok.. It turned out that something in Fabric and/or Crashlytics was wrong. Since it's not essential for the app I tried to remove both pods and voila it builds and runs.

    0 讨论(0)
  • 2021-02-08 13:26

    Go to Pods folder in the Project :

    Pods/Pods-[Project].xcconfig

    and remove the libaray

    0 讨论(0)
提交回复
热议问题