Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

How to with Flutter macOS #7

Description

@MichalNemec

Hello,
i have in pubspec

  flutter_olm: 1.2.0
  flutter_openssl_crypto:
    git:
      url: https://gitlab.com/famedly/company/frontend/libraries/flutter_openssl_crypto.git
      commit: e2ddc02b10b69f23a95626c515df33e57b1fb5a9

ive done in Podfile

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__))
  pod 'OLMKit'
end

in xcode i see in pods OLMKit, but when i run the application:

flutter: [Matrix] �[31mError initializing encryption Invalid argument(s): 
Failed to load dynamic library 'libolm.3.dylib': dlopen(libolm.3.dylib, 0x0001): tried: '/Users/xxx/Library/Developer/Xcode/DerivedData/Runner-bypremnnbiwzyaegugdyzhghumai/Build/Products/Debug/libolm.3.dylib' (no such file), 
'/usr/lib/system/introspection/libolm.3.dylib' (no such file, not in dyld cache), 'libolm.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibolm.3.dylib' (no such file), 
'/Users/xxx/Library/Developer/Xcode/DerivedData/Runner-bypremnnbiwzyaegugdyzhghumai/Build/Products/Debug/FlutterMacOS.framework/Versions/A/./libolm.3.dylib' (no such file), '/Users/xxx/Library/Developer/Xcode/DerivedData/Runner-bypremnnbiwzyaegugdyzhghumai/Build/Products/Debug/FlutterMacOS.framework/Versions/A/../../../libolm.3.dylib' (no such file), 
'/usr/lib/swift/libolm.3.dylib' (no such file, not in dyld cache), 
'/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/libolm.3.dylib' (no such file), 
'/Users/xxx/Library/Developer/Xcode/DerivedData/Runner-bypremnnbiwzyaegugdyzhghumai/Build/Products/Debug/xxx.app/Contents/Frameworks/libolm.3.dylib' (no such file), '/Users/xxx/Library/Developer/Xcode/DerivedData/Runner-bypremnnbiwzyaegugdyzhghumai/Build/Products/Debug/xxx.app/Contents/MacOS/Frameworks/libolm.3.dylib' (no such file), 
'/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libolm.3.dylib' (no such file), 
'/System/Volumes/Preboot/Cryptexes/OS/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libolm.3.dylib' (no such file), 
'/usr/lib/libolm.3.dylib' (no such file, not in dyld cache), 
'libolm.3.dylib' (no such file),
 '/usr/local/lib/libolm.3.dylib' (no such file), 
'/usr/lib/libolm.3.dylib' (no such file, not in dyld cache)�

How can we include it properly so its built and bundled in application?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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