Xcode 13 dyld:库未加载:/System/Library/Frameworks/LinkPresentation.framework/LinkPresentation
Posted
技术标签:
【中文标题】Xcode 13 dyld:库未加载:/System/Library/Frameworks/LinkPresentation.framework/LinkPresentation【英文标题】:Xcode 13 dyld: Library not loaded: /System/Library/Frameworks/LinkPresentation.framework/LinkPresentation 【发布时间】:2021-11-09 14:40:10 【问题描述】:在我的 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
【问题讨论】:
您使用的是 Xcode 的测试版吗? 【参考方案1】:在你的 SS 上将 LinkPresentation.framework
设置为 Optional
(类似于 SwiftUI.framework
)
【讨论】:
以上是关于Xcode 13 dyld:库未加载:/System/Library/Frameworks/LinkPresentation.framework/LinkPresentation的主要内容,如果未能解决你的问题,请参考以下文章
Xcode 5.0.2 dyld:库未加载:@rpath/XCTest.framework/Versions/A/XCTest
dyld:库未加载...原因:找不到合适的图像 Xcode Swift