Skip to content

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

Description

@Symous

恢复完文件后,我在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(无论是真机还是模拟器)是可以正常运行的,请问还需要配置哪里,谢谢。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions