Skip to content

XCode 14.X Library not loaded error #59

@dgalitsyn

Description

@dgalitsyn

Hi @SergeySeroshtan,

I'm not sure if this is the correct repo to raise the issue.

I am getting a library not found error when compiling our app on XCode 14.2 or 14.3, please see below:

dyld[83764]: Library not loaded: @rpath/VirgilCrypto.framework/VirgilCrypto
  Referenced from: <1DA6F60D-DCD2-3BEA-A398-6AC15CA41760> /Users/denisgalitsyn/Library/Developer/CoreSimulator/Devices/7BC75890-E0B9-4EDA-8623-124807D54429/data/Containers/Bundle/Application/F97D0BD9-E516-4DA7-9E14-F522CDB2E5B4/guestApp.app/Frameworks/ClaySDK.framework/ClaySDK
  Reason: tried: '/Users/denisgalitsyn/Library/Developer/Xcode/DerivedData/guestApp-glsgagohkradmoellyszixviczpi/Build/Products/Debug-iphonesimulator/VirgilCrypto.framework/VirgilCrypto' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/VirgilCrypto.framework/VirgilCrypto' (no such file), '/usr/lib/swift/VirgilCrypto.framework/VirgilCrypto' (no such file, not in dyld cache), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/VirgilCrypto.framework/VirgilCrypto' (no such file), '/usr/lib/swift/VirgilCrypto.framework/VirgilCrypto' (no such file, not in dyld cache), '/Users/denisgalitsyn/Library/Developer/CoreSimulator/Devices/7BC75890-E0B9-4EDA-8623-124807D54429/data/Containers/Bundle/Application/F97D0BD9-E516-4DA7-9E14-F522CDB2E5B4/guestApp.app/Frameworks/VirgilCrypto.framework/VirgilCrypto' (no such file), '/Users/denisgalitsyn/Library/Developer/CoreSimulator/Devices/7BC75890-E0B9-4EDA-8623-124807D54429/data/Containers/Bundle/Application/F97D0BD9-E516-4DA7-9E14-F522CDB2E5B4/guestApp.app/Frameworks/ClaySDK.framework/Frameworks/VirgilCrypto.framework/VirgilCrypto' (no s

etc

This library is included by another dependency we use. However, not matter what I try, I am always get this error. However when I check the derived data folder, there is a VirgilCrypto folder with the following files in there:
96 24 May 13:09 Swift Compatibility Header
316 24 May 10:09 VirgilCrypto-umbrella.h
356 24 May 13:09 VirgilCrypto.modulemap
192 24 May 13:09 VirgilCrypto.swiftmodule
644696 24 May 13:09 libVirgilCrypto.a

This is a react native project, so not sure if this is something to go by. I am not an ios dev so not sure how to proceed here. Do you have any idea?

Regards, Denis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions