[bug] Build failure with Xcode 14.1
bitigchi opened this issue · comments
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
- eul version: Git
- macOS version: 13.0
- Device model: MBP 2018
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)
I cannot reproduce this issue on Xcode 14.3
@ivyjsgit Were you able to build eul for macOS 13 (Ventura) and use the widgets?