问题
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!!!
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
These are the pods I've integrated:
and this is my pod file:
回答1:
"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.
回答2:
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.
回答3:
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
回答4:
Go to Pods folder in the Project :
Pods/Pods-[Project].xcconfig
and remove the libaray
来源:https://stackoverflow.com/questions/51619799/xcode-10-beta-5-clang-error-linker-command-failed-with-exit-code-1