Skip to content

dyld: Library not loaded: @rpath/PerfectMySQL.framework #49

Description

@chrisschlitt

I have a project that uses PerfectHttpServer and PerfectMySQL (added using SwiftPackageManager).

Everything works fine when I run the app in Xcode, however when I generate an archive and export the build products, I get the following error when trying to run the executable:

dyld: Library not loaded: @rpath/PerfectMySQL.framework/Versions/A/PerfectMySQL
  Referenced from: /Users/chris/Documents/archive/Products/usr/local/bin/BaseballLive
  Reason: image not found

What do I need to do in order to run the executable?

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