代码之家  ›  专栏  ›  技术社区  ›  Bomber

Xcode 13 dyld:未加载库:/System/Library/Frameworks/LinkPresentation.framework/LinkPresentation

  •  0
  • Bomber  · 技术社区  · 3 年前

    我在iPAd Air模拟器上构建时遇到此错误。我的构建阶段包含了该框架。有什么想法吗?

    dyld: Library not loaded: /System/Library/Frameworks/LinkPresentation.framework/LinkPresentation
      Referenced from: /Users/Library/Developer/CoreSimulator/Devices/A87BB772-9E8A-47A5-8D11-F300B549BDB4/data/Containers/Bundle/Application/AEF2517C-5E9D-4295-8F31-3D91D4668C57/myracnative.app/myracnative
      Reason: image not found
    dyld: launch, loading dependent libraries
    DYLD_FRAMEWORK_PATH=/Users/Library/Developer/Xcode/DerivedData/myracnative-glxuojrfejxbhqgircpjgklctbto/Build/Products/Debug-iphonesimulator
    DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib
    DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot
    DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks
    DYLD_INSERT_LIBRARIES=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/P
    

    enter image description here

    0 回复  |  直到 3 年前
        1
  •  0
  •   kambala    2 年前

    设置 LinkPresentation.framework Optional 在您的SS上(类似于 SwiftUI.framework )