Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple M1芯片的XCode13还是找不到libstdc++.6.dylib #21

Open
Symous opened this issue Nov 16, 2021 · 2 comments
Open

Apple M1芯片的XCode13还是找不到libstdc++.6.dylib #21

Symous opened this issue Nov 16, 2021 · 2 comments

Comments

@Symous
Copy link

Symous commented Nov 16, 2021

恢复完文件后,我在M1芯片的XCode13中的iOS14.2(无论是真机还是模拟器)运行应用的时候,仍然报错提示:
dyld: Library not loaded: /usr/lib/libstdc++.6.dylib Referenced from: /Users/symous/Library/Developer/CoreSimulator/Devices/A28EB60E-5A98-4082-993C-2228F6C32C36/data/Containers/Bundle/Application/5BA098DA-926B-447B-9BFD-47EE764EC534/symousReact.app/symousReact Reason: image not found dyld: launch, loading dependent libraries DYLD_SHARED_CACHE_DIR=/Users/symous/Library/Developer/CoreSimulator/Caches/dyld/21A559/com.apple.CoreSimulator.SimRuntime.iOS-14-2.18B79 DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.2.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/symous/Library/Developer/Xcode/DerivedData/symousReact-hgljttfucnynuifixuyfjnjgdbct/Build/Products/Debug-iphonesimulator:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.2.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.fr

但是在iOS15(无论是真机还是模拟器)是可以正常运行的,请问还需要配置哪里,谢谢。

@greathjh
Copy link

greathjh commented Feb 9, 2023

遇到同样的问题,有人解决了吗?

@hejun041
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants