gao-sun / eul

🖥️ macOS status monitoring app written in SwiftUI.
MIT License
9.24k stars 346 forks source link

[bug] Build failure with Xcode 14.1 #255

Open bitigchi opened 1 year ago

bitigchi commented 1 year ago

Make sure there's no open issue for the same bug before submit.

Describe the Bug

Cannot build the latest git on Xcode 14.1. App launches, but immediately crashes.

Context

Debug Output

dyld[33200]: Library not loaded: @rpath/SharedLibrary.framework/Versions/A/SharedLibrary
  Referenced from: <C7667A3F-7BAA-3590-8E17-2CD4412A7B1A> /Users/emirsari/Library/Developer/Xcode/DerivedData/eul-aqygftsajhnoabbqguqvikpebkzj/Build/Products/Debug/eul.app/Contents/MacOS/eul
  Reason: tried: '/Users/emirsari/Library/Developer/Xcode/DerivedData/eul-aqygftsajhnoabbqguqvikpebkzj/Build/Products/Debug/SharedLibrary.framework/Versions/A/SharedLibrary' (code signature in <B4323489-A324-37FB-9C01-8B3E73223971> '/Users/emirsari/Library/Developer/Xcode/DerivedData/eul-aqygftsajhnoabbqguqvikpebkzj/Build/Products/Debug/SharedLibrary.framework/Versions/A/SharedLibrary' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/Users/emirsari/Library/Developer/Xcode/DerivedData/eul-aqygftsajhnoabbqguqvikpebkzj/Build/Products/Debug/PackageFrameworks/SharedLibrary.framework/Versions/A/SharedLibrary' (no such file), '/usr/lib/swift/SharedLibrary.framework/Versions/A/SharedLibrary' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/SharedLibrary.framework/Versions/A/SharedLibrary' (no such file), '/Users/emirsari/Library/Developer/Xcode/DerivedData/eul-aqygftsajhnoabbqguqvikpebkzj/Build/Products/Debug/eul.app/Contents/Frameworks/SharedLibrary.framework/Versions/A/SharedLibrary' (code signature in <B4323489-A324-37FB-9C01-8B3E73223971> '/Users/emirsari/Library/Developer/Xcode/DerivedData/eul-aqygftsajhnoabbqguqvikpebkzj/Build/Products/Debug/eul.app/Contents/Frameworks/SharedLibrary.framework/Versions/A/SharedLibrary' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/usr/lib/swift/SharedLibrary.framework/Versions/A/SharedLibrary' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/SharedLibrary.framework/Versions/A/SharedLibrary' (no such file), '/Users/emirsari/Library/Developer/Xcode/DerivedData/eul-aqygftsajhnoabbqguqvikpebkzj/Build/Products/Debug/eul.app/Contents/Frameworks/SharedLibrary.framework/Versions/A/SharedLibrary' (code signature in <B4323489-A324-37FB-9C01-8B3E73223971> '/Users/emirsari/Library/Developer/Xcode/DerivedData/eul-aqygftsajhnoabbqguqvikpebkzj/Build/Products/Debug/eul.app/Contents/Frameworks/SharedLibrary.framework/Versions/A/SharedLibrary' 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@rpath/SharedLibrary.framework/Versions/A/SharedLibrary' (no such file), '/usr/lib/swift/SharedLibrary.framework/Versions/A/SharedLibrary' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/SharedLibrary.framework/Versions/A/SharedLibrary' (no such file), '/Users/emirsari/Library/Developer/Xcode/DerivedData/eul-aqygftsajhnoabbqguqvikpebkzj/Build/Products/Debug/eul.app/Contents/Frameworks/SharedLibrary.framework/Versions/A/SharedLibrary' (code signature in <B4323489-A324-37FB-9C01-8B3E73223971> '/Users/emirsari/Library/Developer/Xcode/DerivedData/eul-aqygftsajhnoabbqguqvikpebkzj/Build/Products/Debug/eul.app/Contents/Frameworks/SharedLibrary.framework/Versions/A/SharedLibrary' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/usr/lib/swift/SharedLibrary.framework/Versions/A/SharedLibrary' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/SharedLibrary.framework/Versions/A/SharedLibrary' (no such file), '/Users/emirsari/Library/Developer/Xcode/DerivedData/eul-aqygftsajhnoabbqguqvikpebkzj/Build/Products/Debug/eul.app/Contents/Frameworks/SharedLibrary.framework/Versions/A/SharedLibrary' (code signature in <B4323489-A324-37FB-9C01-8B3E73223971> '/Users/emirsari/Library/Developer/Xcode/DerivedData/eul-aqygftsajhnoabbqguqvikpebkzj/Build/Products/Debug/eul.app/Contents/Frameworks/SharedLibrary.framework/Versions/A/SharedLibrary' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/Library/Frameworks/SharedLibrary.framework/Versions/A/SharedLibrary' (no such file), '/System/Library/Frameworks/SharedLibrary.framework/Versions/A/SharedLibrary' (no such file, not in dyld cache)
ivyjsgit commented 1 year ago

I cannot reproduce this issue on Xcode 14.3

fnwbr commented 1 year ago

@ivyjsgit Were you able to build eul for macOS 13 (Ventura) and use the widgets?