PerfectlySoft / PerfectlySoft/Perfect-MariaDB

macOS / Swift : Facing issue when trying to integrate with Xcode project using SPM

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
10
Forks
8
Avg merge
24m
Merged PRs (30d)
1

Description

There are two error which I am facing when trying to run after adding "https://github.com/PerfectlySoft/Perfect-MariaDB" as package using SPM.

When I run this, App crashes with following errors:

  1. '/Users/gaganaks/Library/Developer/Xcode/DerivedData/MariaDBPOC-ahlzpxfyaavjfkdwgbmglqqgffbj/Build/Products/Debug/libmariadb.3.dylib' (no such file), '/usr/lib/system/introspection/libmariadb.3.dylib' (no such file, not in dyld cache), '/opt/homebrew/opt/mariadb-connector-c/lib/mariadb/libmariadb.3.dylib' (code signature in
  2. '/opt/homebrew/Cellar/mariadb-connector-c/3.3.5_1/lib/mariadb/libmariadb.3.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/mariadb-connector-c/lib/mariadb/libmariadb.3.dylib' (no such file)

Can someone please provide a way to properly integrate this with existing Xcode project?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the SPM integration in an existing Xcode project using https://github.com/PerfectlySoft/Perfect-MariaDB, then inspect the missing-library and code-signing errors shown in the report. Done means the project can run without the reported libmariadb.3.dylib loading or signing failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, mariadb, swift
Domain
databases, desktop-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.