Skip to content

libswiftUniformTypeIdentifiers.dylib崩溃问题 #736

@hanwanjie853710069

Description

@hanwanjie853710069

这样pod后运行是没问题的
/// 不包含 Kingfisher,相机不包含定位功能
pod HXPhotoPicker/Lite
pod 'Kingfisher', '7.6.1'

但是如果改成这样 pod后运行就崩溃了
pod 'HXPhotoPicker'

下面是崩溃日志

dyld: Library not loaded: /usr/lib/swift/libswiftUniformTypeIdentifiers.dylib
Referenced from: /Users/w/Library/Developer/CoreSimulator/Devices/ED6DA925-D61D-4C1F-BA49-507BCBA4D197/data/Containers/Bundle/Application/3A5EA2D7-EF7F-4530-8500-BD57C2C0F49B/Y.app/Frameworks/Kingfisher.framework/Kingfisher
Reason: image not found
dyld: launch, loading dependent libraries
DYLD_SHARED_CACHE_DIR=/Users/w/Library/Developer/CoreSimulator/Caches/dyld/21H1123/com.apple.CoreSimulator.SimRuntime.iOS-13-0.17A577
DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.0.simruntime/Contents/Resources/RuntimeRoot
DYLD_LIBRARY_PATH=/Users/w/Library/Developer/Xcode/DerivedData/Y-fknbstroesifrfeywmiaukdpmrop/Build/Products/Debug-iphonesimulator:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.0.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.fr

求教 如何解决这个崩溃

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