Xcode 10 Beta 5 - clang:错误:链接器命令失败,退出代码为1

时间:2021-02-10 09:40:08

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 however works… Please Help me!!!

有人可以帮帮我吗?我的项目一切正常,但更新到Xcode10 Beta5后,我试图在我的iPhone上运行应用程序时出现此错误。然而模拟器工作......请帮助我!!!

Xcode 10 Beta 5  -  clang:错误:链接器命令失败,退出代码为1

I already did a web search on this problem and found this thread. I tried all answers but none worked..

我已经对这个问题进行了网络搜索并找到了这个帖子。我尝试了所有的答案,但都没有奏效

If you had this problem I would be very very thankful if you can help me running my app on my iPhone again

如果你遇到这个问题我会非常感谢你能帮助我再次在我的iPhone上运行我的应用程序

These are the pods I've integrated: Xcode 10 Beta 5  -  clang:错误:链接器命令失败,退出代码为1

这些是我整合的豆荚:

and this is my pod file: Xcode 10 Beta 5  -  clang:错误:链接器命令失败,退出代码为1

这是我的pod文件:

2 个解决方案

#1


4  

"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 and delete it. Then I added "libc++.tbd" and taraaaaah now you will be able to compile your project. Hope It helps.

在iOS 12中不推荐使用“libstdc ++。6.0.9.tbd”。为了解决这个问题,请尝试转到App Targets - General - Linked Frameworks and Libraries并删除它。然后我添加了“libc ++。tbd”和taraaaaah,现在您将能够编译您的项目。希望能帮助到你。

#2


1  

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.

好的..事实证明,Fabric和/或Crashlytics中的某些内容是错误的。因为它对应用程序不是必不可少的,所以我试图删除这两个pod并瞧它构建并运行。

#1


4  

"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 and delete it. Then I added "libc++.tbd" and taraaaaah now you will be able to compile your project. Hope It helps.

在iOS 12中不推荐使用“libstdc ++。6.0.9.tbd”。为了解决这个问题,请尝试转到App Targets - General - Linked Frameworks and Libraries并删除它。然后我添加了“libc ++。tbd”和taraaaaah,现在您将能够编译您的项目。希望能帮助到你。

#2


1  

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.

好的..事实证明,Fabric和/或Crashlytics中的某些内容是错误的。因为它对应用程序不是必不可少的,所以我试图删除这两个pod并瞧它构建并运行。