You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] building for any mac from an Intel mac does not build metacodable framework as universal #122
Building my project for "Any Mac" does not build the metacodable framework as universal, so when the application is started, it immediately crashes with:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Seahorse OSX [24061]
Path: /Volumes/NETWORK/*/Seahorse OSX.app/Contents/MacOS/Seahorse OSX
Identifier: com.eolcoder.SeahorseOSX
Version: 1.0 (1.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2025-02-21 13:52:54.5771 -0600
OS Version: macOS 15.3.1 (24D70)
Report Version: 12
Anonymous UUID: A585B7F8-B1FB-F97D-44A8-E4BF8E81E5B9
Sleep/Wake UUID: 106D7B90-0F91-40F2-AA52-DEDF5407D2FE
Time Awake Since Boot: 53000 seconds
Time Since Wake: 2415 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/MetaCodable.framework/Versions/A/MetaCodable
Referenced from: <C18762B5-FBF3-39EF-AC5A-962059E0B2C1> /Volumes/NETWORK/*/Seahorse OSX.app/Contents/MacOS/Seahorse OSX
Reason: tried: '/Users/robertengels/Seahorse/DerivedData/Seahorse/Build/Products/Debug/PackageFrameworks/MetaCodable.framework/Versions/A/MetaCodable' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/robertengels/Seahorse/DerivedData/Seahorse/Build/Products/Debug/PackageFrameworks/MetaCodable.framework/Versions/A/MetaCodable' (no such file), '/Volumes/robertengels/Seahorse/DerivedData/Seahorse/Build/Products/Debug/Seahorse OSX.app/Contents/MacOS/Frameworks/MetaCodable.framework/Versions/A/MetaCodable' (no such file), '/Users/robertengels/Seahorse/DerivedData/Seahorse/Build/Products/Debug/PackageFrameworks/MetaCodable.framework/Versions/A/MetaCodable' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/robertengels/Seahorse/DerivedData/Seahorse/
(terminated at launch; ignore backtrace)
OSX 13.7.3
XCode 15.2
Swift 5.9.2
The file is actually present at the path /Users/robertengels/Seahorse/DerivedData/Seahorse/Build/Products/Debug/PackageFrameworks/MetaCodable.framework/Versions/A/MetaCodable but it is not a universal binary so it doesn't load.
I re-opened this, because I can't figure out what is going on. The build runs fine on Intel, but trying on Arm it fails with the above error - which makes me think it is something related to MetaCodable.
I built an archive in XCode, and copied the full application to the M1 machine, and I receive the same error - so it doesn't appear related to not actually finding the file.
Activity
robaho commentedon Feb 21, 2025
closing. I checked the file, and it has both architectures, so something else is happening.
robaho commentedon Feb 21, 2025
I re-opened this, because I can't figure out what is going on. The build runs fine on Intel, but trying on Arm it fails with the above error - which makes me think it is something related to MetaCodable.
I built an archive in XCode, and copied the full application to the M1 machine, and I receive the same error - so it doesn't appear related to not actually finding the file.
robaho commentedon Feb 21, 2025
Running
fileon the file, I see:soumyamahunt commentedon Mar 1, 2025
@robaho can you share a sample project that can reproduce this issue?