Xcode11にlibstdc ++がありません。 6.0.9解決策、シミュレーターを実行しているエラーの問題



Xcode 11 Missing Libstdc



libstdc ++. 6.0.9.dylib, libstdc ++. 6.dylib, libstdc ++. dylib download directory as follows

Link: https://pan.baidu.com/s/1Ep4fk5Lwsv56zRSoDqLWwg&shfl=shareset Extraction code: ncme



libstdc ++ 6.dylibファイルがないためにXcode11を更新した後、エラーメッセージ、またはシミュレーターがメソッドXcode10に従って設定された後に検出されたエラーは次のエラーです。

Reason: no suitable image found. Did find: /usr/lib/libstdc++.6.dylib: mach-o, but not built for iOS simulator Copy the code

元のXcode10を設定する方法では、次のパスが必要です。Xcodelibstdc++.6.0.9.dylib、libstdc++.6.dylib、libstdc++.dylib 3つのファイルが新しいXcodeの対応するパスにコピーされます。パスは次のとおりです。



/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libstdc++.6.0.9.dylib Copy the code

しかし、Xcode11の発見/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/LibraryパスはCoreSimulatorフォルダーではなく、設定できません。

検出後に情報を検索するXcode11 CoreSimulatorフォルダは次の場所に移動します/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/このパスでは、Xcodeでは古いものになりますlibstdc++.6.0.9.dylib、libstdc++.6.dylib、libstdc++.dylib新しいディレクトリへの3つのファイルでこれらの問題を解決できます。パスは次のとおりです。

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/