AMSMB2
AMSMB2 copied to clipboard
Library not loaded on iPhone device
dyld[6208]: Library not loaded: '@rpath/AMSMB2.framework/AMSMB2'
Referenced from: '/private/var/containers/Bundle/Application/C3CXXXX6-353C-469A-ACF8-E9DXXXXE/xxxx.app/xxxx'
Reason: tried: '/usr/lib/swift/AMSMB2.framework/AMSMB2' (no such file), '/Users/xxx/Library/Developer/Xcode/DerivedData/XXXXX-dzxvdypojrczhpggjkaqfoahcewd/Build/Products/Debug-iphoneos/PackageFrameworks/AMSMB2.framework/AMSMB2' (no such file), '/private/var/containers/Bundle/Application/C3CXXXXX-353C-469A-ACF8-E9D4C6XXXXX/xxxx.app/Frameworks/AMSMB2.framework/AMSMB2' (no such file), '/private/var/containers/Bundle/Application/C3XXXX6-353C-469A-ACF8-E9D4XXXXX3E/xxxx.app/Frameworks/AMSMB2.framework/AMSMB2' (no such file), '/usr/lib/swift/AMSMB2.framework/AMSMB2' (no such file), '/Users/fenghe/Library/Developer/Xcode/DerivedData/XXXX-dzxvdypojrczhpggjkaqfoahcewd/Build/Products/Debug-iphoneos/PackageFrameworks/AMSMB2.framework/AMSMB2' (no such file), '/private/var/containers/Bundle/Application/C3CXXXX-353C-469A-ACF8-E9D4C6DXXXXE/xxxx.app/Frameworks/AMSMB2.framework/AMSMB2' (no such file), '/private/var/containers/Bundle/Application/C3Cxxxx-353C-469A-ACF8-E9D4xxxxx3E/xxxx.app/Frameworks/AMSMB2.framework/AMSMB2' (no such file), '/System/Library/Frameworks/AMSMB2.framework/AMSMB2' (no such file)
can not work on iPhone, Mac mini.
Which version of library are you using? @charsdavy
I have a similar issue for macOS: dyld[66572]: Library not loaded: @rpath/AMSMB2.framework/Versions/A/AMSMB2 Referenced from: <5FB042E3-ED73-3DEF-AE4C-CAD24A89F7E8> /Users/clyde/Library/Developer/Xcode/DerivedData/samba-third-cmidkpzehtbqasfpxeslwdmbayka/Build/Products/Debug/samba-third
I added the library using "Add package dependencies" since the project is not having a Package.swift. It is a command line project just to see how the library is working. Library version 3.3.1
I am also experiencing the same issue. It does not work on a device, but it works in the simulator. I am using the latest Swift Package version 3.3.1.
private/var/containers/Bundle/Application/81A93795-D9FA-4A72-BE5D-46A56BF6CA2B/SMBTestApp.app/Frameworks/AMSMB2.framework/AMSMB2' (no such file)
Which version of library are you using? @charsdavy
Library version 3.3.1
Had the same problem. You need to select Embed & Sign
in the Frameworks, Libraries, and Embedded Content
section of your target: