PerfectlySoft / Perfect-MariaDB

A stand-alone Swift wrapper around the MariaDB client library, enabling access to MariaDB servers. http://www.perfect.org
https://www.perfect.org
Apache License 2.0
9 stars 8 forks source link

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

Open GaganaSAchar opened 1 year ago

GaganaSAchar commented 1 year ago

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?