[Solved] Xcode 10 Error: library not found for -lstdc++.6.0.9

In Xcode 10 development

Error: library not found for – lstdc + +. 6.0.9

Solution: copy libstdc + + 6.0.9.tbd of xcode9 to xcode10 for use

Three libstdc + + related libraries ( libstdc + + , libstdc + +. 6 , libstdc + + 6.0.9 ) in xcode10 were completely abandoned

Adaptation of xcode10 and ios12

Question 1: Xcode 10 removes – libstdc + + 6.0.9??The project cannot run (temporary solution ~ the correct posture is to replace or find a service provider that depends on this library to upgrade barabara)
solution: copy libstdc + + 6.0.9 under Xcode 9 to the directory of Xcode 10 (Xcode displays package contents/Developer/platforms/iphoneos.platform (running under simulator: iphonesimulator. Platform)/Developer/SDKs/iPhone) OS. SDK/usr/lib /)
problem 2: cocoapods fails during Mac OS upgrade (prompt Pod: undefined error: 0 or command not found)
solution: 1. Open the terminal and upgrade gem update — system first 2. Upgrade cocoapods (brew upgrade cocoapods) 3. Execute sudo gem install – N/usr/local/bin cocoapods

 

Similar Posts: