BuSheTeam / ThemeEngine

BSD 2-Clause "Simplified" License
4 stars 0 forks source link

我将代码下载下来,在XCode 12.1 上运行的时候直接闪退。 #2

Open csc-EricWu opened 3 years ago

csc-EricWu commented 3 years ago

dyld: Library not loaded: @executable_path/../Frameworks/ThemeKit.framework/Versions/A/ThemeKit Referenced from: /Users/eric/Library/Developer/Xcode/DerivedData/ThemeEngine-bbdwqhiqrfdvnkazfpvmlcfsartd/Build/Products/Debug/ThemeEngine.app/Contents/MacOS/ThemeEngine Reason: no suitable image found. Did find: /Users/eric/Library/Developer/Xcode/DerivedData/ThemeEngine-bbdwqhiqrfdvnkazfpvmlcfsartd/Build/Products/Debug/ThemeKit.framework/Versions/A/ThemeKit: code signature in (/Users/eric/Library/Developer/Xcode/DerivedData/ThemeEngine-bbdwqhiqrfdvnkazfpvmlcfsartd/Build/Products/Debug/ThemeKit.framework/Versions/A/ThemeKit) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?) /Users/eric/Library/Developer/Xcode/DerivedData/ThemeEngine-bbdwqhiqrfdvnkazfpvmlcfsartd/Build/Products/Debug/ThemeKit.framework/Versions/A/ThemeKit: stat() failed with errno=1 /Users/eric/Library/Developer/Xcode/DerivedData/ThemeEngine-bbdwqhiqrfdvnkazfpvmlcfsartd/Build/Products/Debug/ThemeEngine.app/Contents/MacOS/../Frameworks/ThemeKit.framework/Versions/A/ThemeKit: code signature in (/Users/eric/Library/Developer/Xcode/DerivedData/ThemeEngine-bbdwqhiqrfdvnkazfpvmlcfsartd/Build/Products/Debug/ThemeEngine.app/Contents/MacOS/../Frameworks/ThemeKit.framework/Versions/A/ThemeKit) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?) /Users/eric/Library/Developer/Xcode/DerivedData/ThemeEngine-bbdwqhiqrfdvnkazfpvmlcfsartd/Build/Products/Debug/ThemeEngine.app/Contents/MacOS/../Frameworks/ThemeKit.framework/Versions/A/ThemeKit: stat() failed with errno=1 /Users/eric/Library/Developer/Xcode/DerivedData/ThemeEngine-bbdwqhiqrfdvnkazfpvmlcfsartd/Build/Products/Debug/ThemeEngine.app/Contents/MacOS/../Frameworks/ThemeKit.framework/Versions/A/ThemeKit: code signature in (/Users/eric/Library/Developer/Xcode/DerivedData/ThemeEngine-bbdwqhiqrfdvnkazfpvmlcfsartd/Build/Products/Debug/ThemeEngine.app/Contents/MacOS/../Frameworks/ThemeKit.framework/Versions/A/ThemeKit) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?) /Users/eric/Library/Developer/Xcode/DerivedData/ThemeEngine-bbdwqhiqrfdvnkazfpvmlcfsartd/Build/Products/Debug/ThemeEngine.app/Contents/MacOS/../Frameworks/ThemeKit.framework/Versions/A/ThemeKit: stat() failed with errno=1

csc-EricWu commented 3 years ago

@alexzielenski @justin0a0 @mbert @BuSheTeam 有人解决吗?

BuSheTeam commented 3 years ago

直接删除找不到的库的引用即可。

csc-EricWu commented 3 years ago

你能修复下吗?

BuSheTeam commented 3 years ago

你能修复下吗?

没有必要的,直接在 Xcode 中的依赖中删除找不到的依赖库即可,并不影响 app 的正常使用。