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:
My iOS builds fail with "clang: error: linker command failed with exit code 1" Clang! The error could be caused by App Center building with the xcodeproj instead of the workspace. When adding CocoaPods to your project, you must switch to using the workspace when building in App Center.
First you get the error because the compiler can not find the definition of the power function that you are using. Even if you write int power(int m, int n); There is an error because you are not defining the function.
Go to Pods folder in the Project :
Pods/Pods-[Project].xcconfig
and remove the libaray
"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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With