PerfectlySoft / PerfectlySoft/Perfect-MySQL
dyld: Library not loaded: @rpath/PerfectMySQL.framework
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 126
- Forks
- 58
- Avg merge
- 25m
- Merged PRs (30d)
- 1
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the exported Products/usr/local/bin/BaseballLive executable and its archived dependency layout, focusing on the missing @rpath/PerfectMySQL.framework/Versions/A/PerfectMySQL path. Determine how the SwiftPackageManager dependency is packaged for an archive, then verify that the exported executable runs without the dyld library-not-found error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, swift
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100